| Index: sdk/lib/_internal/compiler/implementation/types/simple_types_inferrer.dart
|
| diff --git a/sdk/lib/_internal/compiler/implementation/types/simple_types_inferrer.dart b/sdk/lib/_internal/compiler/implementation/types/simple_types_inferrer.dart
|
| index 93e31e2a65c799f12abaff849f02ac68a1da8feb..3fa0f851137c5066f9f882c5011d505d6e380d1d 100644
|
| --- a/sdk/lib/_internal/compiler/implementation/types/simple_types_inferrer.dart
|
| +++ b/sdk/lib/_internal/compiler/implementation/types/simple_types_inferrer.dart
|
| @@ -289,7 +289,7 @@ class SimpleTypesInferrer extends TypesInferrer {
|
| length, () => new Set<Element>());
|
| set.add(element);
|
| });
|
| -
|
| +
|
| // This iteration assumes the [WorkSet] is LIFO.
|
| for (int i = max; i >= 0; i--) {
|
| Set<Element> set = methodSizes[i];
|
| @@ -319,7 +319,7 @@ class SimpleTypesInferrer extends TypesInferrer {
|
|
|
| void initializeTypes() {
|
| // TODO(ngeoffray): Is that the right type?
|
| - nullType = new TypeMask.exact(compiler.nullClass.rawType);
|
| + nullType = new TypeMask.exact(compiler.nullClass.computeType(compiler));
|
|
|
| intType = new TypeMask.nonNullExact(
|
| compiler.intClass.rawType);
|
|
|