| Index: tests/compiler/dart2js/simple_inferrer_test.dart
|
| ===================================================================
|
| --- tests/compiler/dart2js/simple_inferrer_test.dart (revision 24382)
|
| +++ tests/compiler/dart2js/simple_inferrer_test.dart (working copy)
|
| @@ -491,7 +491,7 @@
|
| var element = findElement(compiler, name);
|
| Expect.equals(
|
| type,
|
| - typesInferrer.internal.returnTypeOf[element].simplify(compiler),
|
| + typesInferrer.getReturnTypeOfElement(element).simplify(compiler),
|
| name);
|
| }
|
| var interceptorType =
|
| @@ -559,7 +559,7 @@
|
| var cls = findElement(compiler, className);
|
| var element = cls.lookupLocalMember(buildSourceString(methodName));
|
| Expect.equals(type,
|
| - typesInferrer.internal.returnTypeOf[element].simplify(compiler));
|
| + typesInferrer.getReturnTypeOfElement(element).simplify(compiler));
|
| }
|
|
|
| checkReturnInClass('A', 'returnInt1', typesInferrer.intType);
|
| @@ -584,7 +584,7 @@
|
| var cls = findElement(compiler, className);
|
| var element = cls.localLookup(buildSourceString(className));
|
| Expect.equals(new TypeMask.nonNullExact(cls.rawType),
|
| - typesInferrer.internal.returnTypeOf[element]);
|
| + typesInferrer.getReturnTypeOfElement(element));
|
| }
|
| checkFactoryConstructor('A');
|
| }
|
|
|