DescriptionAdd an optional bound to type parameter references
This allows us to represent type parameters with promoted bounds which
are different from the bound at the declaration. A missing promoted
bound indicates that the type parameter has the original bound at the
declaration.
This is a representation-only change, the optional bound is always
`null`. Closes #29529.
BUG=https://github.com/dart-lang/sdk/issues/29529
R=paulberry@google.com
Committed: https://github.com/dart-lang/sdk/commit/fbb6c121e6a44729f66d197f929265251f555d04
Patch Set 1 #Patch Set 2 : Don't leak the bound if it ever becomes non-null #
Messages
Total messages: 5 (2 generated)
|