Index: tests/compiler/dart2js/simple_inferrer_final_field3_test.dart |
diff --git a/tests/compiler/dart2js/simple_inferrer_final_field3_test.dart b/tests/compiler/dart2js/simple_inferrer_final_field3_test.dart |
index 0d25714246598bb0b765c0b051a5b6ec483e8e4d..caa821f74e43a79f2f1c342abd735104e27838c9 100644 |
--- a/tests/compiler/dart2js/simple_inferrer_final_field3_test.dart |
+++ b/tests/compiler/dart2js/simple_inferrer_final_field3_test.dart |
@@ -27,16 +27,16 @@ void main() { |
Uri uri = new Uri(scheme: 'source'); |
var compiler = compilerFor(TEST, uri); |
asyncTest(() => compiler.run(uri).then((_) { |
- var typesInferrer = compiler.globalInference.typesInferrer; |
- |
- checkFieldTypeInClass(String className, String fieldName, type) { |
- var cls = findElement(compiler, className); |
- var element = cls.lookupLocalMember(fieldName); |
- Expect.equals(type, |
- simplify(typesInferrer.getTypeOfElement(element), compiler)); |
- } |
- |
- checkFieldTypeInClass('A', 'dynamicField', |
- findTypeMask(compiler, 'Interceptor', 'nonNullSubclass')); |
- })); |
+ var typesInferrer = compiler.globalInference.typesInferrer; |
+ |
+ checkFieldTypeInClass(String className, String fieldName, type) { |
+ var cls = findElement(compiler, className); |
+ var element = cls.lookupLocalMember(fieldName); |
+ Expect.equals(type, |
+ simplify(typesInferrer.getTypeOfElement(element), compiler)); |
+ } |
+ |
+ checkFieldTypeInClass('A', 'dynamicField', |
+ findTypeMask(compiler, 'Interceptor', 'nonNullSubclass')); |
+ })); |
} |