| Index: tests/compiler/dart2js/type_test_helper.dart
|
| diff --git a/tests/compiler/dart2js/type_test_helper.dart b/tests/compiler/dart2js/type_test_helper.dart
|
| index daeae99054465694679844290ca1b9f50b822b1f..dd7c32205dcb7d7c6ce4722edc5fa41c7419d7db 100644
|
| --- a/tests/compiler/dart2js/type_test_helper.dart
|
| +++ b/tests/compiler/dart2js/type_test_helper.dart
|
| @@ -93,7 +93,7 @@ class TypeEnvironment {
|
| }
|
|
|
| DartType operator[] (String name) {
|
| - if (name == 'dynamic') return compiler.types.dynamicType;
|
| + if (name == 'dynamic') return const DynamicType();
|
| if (name == 'void') return const VoidType();
|
| return getElementType(name);
|
| }
|
|
|