fix typo in future union inference code

R=leafp@google.com

Review URL: https://codereview.chromium.org/2431313005 .
This commit is contained in:
Jennifer Messerly 2016-10-20 10:22:23 -07:00
parent 105f568452
commit dfac88ec18

View file

@ -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);
}