| Index: pkg/compiler/lib/src/constants/constant_system.dart
|
| diff --git a/pkg/compiler/lib/src/constants/constant_system.dart b/pkg/compiler/lib/src/constants/constant_system.dart
|
| index 2dcaa36cae9e62b6d0009c76ac4e27c766474f7a..b8c964e06334e7a11533e7f8a730eb2db1c376a8 100644
|
| --- a/pkg/compiler/lib/src/constants/constant_system.dart
|
| +++ b/pkg/compiler/lib/src/constants/constant_system.dart
|
| @@ -63,18 +63,19 @@ abstract class ConstantSystem {
|
| ConstantValue createString(DartString string);
|
| ConstantValue createBool(bool value);
|
| ConstantValue createNull();
|
| - ConstantValue createList(InterfaceType type, List<ConstantValue> values);
|
| + ConstantValue createList(
|
| + ResolutionInterfaceType type, List<ConstantValue> values);
|
| // TODO(johnniwinther): Remove the need for [compiler].
|
| - ConstantValue createMap(Compiler compiler, InterfaceType type,
|
| + ConstantValue createMap(Compiler compiler, ResolutionInterfaceType type,
|
| List<ConstantValue> keys, List<ConstantValue> values);
|
| // TODO(johnniwinther): Remove the need for [compiler].
|
| - ConstantValue createType(Compiler compiler, DartType type);
|
| + ConstantValue createType(Compiler compiler, ResolutionDartType type);
|
| // TODO(johnniwinther): Remove the need for [compiler].
|
| ConstantValue createSymbol(Compiler compiler, String text);
|
|
|
| // We need to special case the subtype check for JavaScript constant
|
| // system because an int is a double at runtime.
|
| - bool isSubtype(DartTypes types, DartType s, DartType t);
|
| + bool isSubtype(DartTypes types, ResolutionDartType s, ResolutionDartType t);
|
|
|
| /** Returns true if the [constant] is an integer at runtime. */
|
| bool isInt(ConstantValue constant);
|
|
|