mirror of
https://github.com/dart-lang/sdk
synced 2024-09-16 00:39:49 +00:00
fix typo in future union inference code
R=leafp@google.com Review URL: https://codereview.chromium.org/2431313005 .
This commit is contained in:
parent
105f568452
commit
dfac88ec18
|
@ -1595,7 +1595,7 @@ class _StrongInferenceTypeSystem extends StrongTypeSystemImpl {
|
|||
//
|
||||
// This will typically lead to top with the current rules, but it will
|
||||
// work with `bottom` or if we remove Future flattening.
|
||||
var f = upperBound as FutureUnionType;
|
||||
var f = lowerBound as FutureUnionType;
|
||||
lowerBound = _typeSystem.getLeastUpperBound(
|
||||
_typeProvider, f.futureOfType, f.type);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue