mirror of
https://github.com/github/codeql.git
synced 2026-03-01 05:13:41 +01:00
Clarify Wildcard.hasUpperBound() doc
This commit is contained in:
@@ -194,7 +194,10 @@ class TypeVariable extends BoundedType, @typevariable {
|
||||
* and the second wildcard has a lower bound of `Float`.
|
||||
*/
|
||||
class Wildcard extends BoundedType, @wildcard {
|
||||
/** Holds if this wildcard has an upper bound. */
|
||||
/**
|
||||
* Holds if this wildcard is either unconstrained (i.e. `?`) or
|
||||
* has an upper bound.
|
||||
*/
|
||||
predicate hasUpperBound() { wildcards(this, _, 1) }
|
||||
|
||||
/** Holds if this wildcard has a lower bound. */
|
||||
|
||||
Reference in New Issue
Block a user