Index: pkg/compiler/lib/src/inferrer/inferrer_engine.dart |
diff --git a/pkg/compiler/lib/src/inferrer/inferrer_engine.dart b/pkg/compiler/lib/src/inferrer/inferrer_engine.dart |
index 0932afc8b2f22397a1c6bada782e55ca589e733d..466fa9457a56ae8846cdfa9865e264e569609095 100644 |
--- a/pkg/compiler/lib/src/inferrer/inferrer_engine.dart |
+++ b/pkg/compiler/lib/src/inferrer/inferrer_engine.dart |
@@ -621,7 +621,7 @@ class InferrerEngine { |
} |
void buildWorkQueue() { |
- workQueue.addAll(types.typeInformations.values); |
+ workQueue.addAll(types.orderedTypeInformations); |
workQueue.addAll(types.allocatedTypes); |
workQueue.addAll(types.allocatedClosures); |
workQueue.addAll(types.allocatedCalls); |
@@ -1037,7 +1037,8 @@ class InferrerEngine { |
defaultTypeOfParameter.clear(); |
- types.typeInformations.values.forEach(cleanup); |
+ types.parameterTypeInformations.values.forEach(cleanup); |
+ types.memberTypeInformations.values.forEach(cleanup); |
types.allocatedTypes.forEach(cleanup); |
types.allocatedTypes.clear(); |