| Index: lib/compiler/implementation/constant_system_dart.dart
|
| ===================================================================
|
| --- lib/compiler/implementation/constant_system_dart.dart (revision 12329)
|
| +++ lib/compiler/implementation/constant_system_dart.dart (working copy)
|
| @@ -342,4 +342,8 @@
|
| bool isString(Constant constant) => constant.isString();
|
| bool isBool(Constant constant) => constant.isBool();
|
| bool isNull(Constant constant) => constant.isNull();
|
| -}
|
| +
|
| + bool isSubtype(Compiler compiler, DartType s, DartType t) {
|
| + return compiler.types.isSubtype(s, t);
|
| + }
|
| +}
|
|
|