Descriptionfix #28526, await FutureOr<T>
fix #28527, FutureOr<T> subtyping with type parameters
For subtyping: we've had a long standing issue in how inference reuses the <: operator code. Inference needs to make sure constraints are recorded on the type parameters we're inferring, but it also needs to correctly implement the future or union. This change addresses that & is a step towards the bigger inference change upcoming that tracks top/bottom constraints explicitly.
R=leafp@google.com
Committed: https://github.com/dart-lang/sdk/commit/39977ac6ec58516f5db5ac4df9fa2426fc19dac5
Patch Set 1 #Patch Set 2 : fix #Patch Set 3 : fix #
Total comments: 4
Patch Set 4 : fix coments #Patch Set 5 : fix comment again #Patch Set 6 : update baseline #Patch Set 7 : fix #
Total comments: 1
Messages
Total messages: 10 (4 generated)
|