mirror of
https://github.com/dart-lang/sdk
synced 2024-09-16 00:39:49 +00:00
Fix typo in TypeInformationSystem.joinTypeMasks
R=sigmund@google.com Review URL: https://codereview.chromium.org/1771253002 .
This commit is contained in:
parent
ab7eb43013
commit
ea480cdf0f
|
@ -553,7 +553,7 @@ class TypeInformationSystem extends TypeSystem<TypeInformation> {
|
|||
}
|
||||
|
||||
TypeMask newType = null;
|
||||
for (TypeMask mask in masks) {
|
||||
for (TypeMask mask in list) {
|
||||
newType = newType == null ? mask : newType.union(mask, classWorld);
|
||||
// Likewise - stop early if we already reach dynamic.
|
||||
if (newType.containsAll(classWorld)) return dynamicType;
|
||||
|
|
Loading…
Reference in a new issue