Descriptionfix #26990, incorrect substitution of upper bound
We were handling the "extends" clause too early, when we did not have enough information to correctly substitute it. So we tried to substitute later on, but this breaks cases where we (correctly) inferred using the argument types.
The fix is to move the "extends" clause handling to a place where we have the inferred types for our preceding type variables available.
R=leafp@google.com
Committed: https://github.com/dart-lang/sdk/commit/0fe54a637a16b5875fbe18c4dbb628602db75783
Patch Set 1 #
Total comments: 6
Patch Set 2 : fix f-bounded #Patch Set 3 : sort #
Messages
Total messages: 8 (3 generated)
|