| Index: pkg/compiler/lib/src/js_backend/constant_emitter.dart
|
| diff --git a/pkg/compiler/lib/src/js_backend/constant_emitter.dart b/pkg/compiler/lib/src/js_backend/constant_emitter.dart
|
| index 5e5ac5c365f8f4dca748da3b8fbc540d08d0576e..e98e587b9423a08d629fc5b770d5023bc2b9856b 100644
|
| --- a/pkg/compiler/lib/src/js_backend/constant_emitter.dart
|
| +++ b/pkg/compiler/lib/src/js_backend/constant_emitter.dart
|
| @@ -6,7 +6,6 @@ import '../common.dart';
|
| import '../common_elements.dart';
|
| import '../constants/values.dart';
|
| import '../elements/entities.dart';
|
| -import '../elements/resolution_types.dart' show ResolutionTypedefType;
|
| import '../elements/types.dart';
|
| import '../io/code_output.dart';
|
| import '../js/js.dart' as jsAst;
|
| @@ -282,7 +281,7 @@ class ConstantEmitter implements ConstantValueVisitor<jsAst.Expression, Null> {
|
| Entity element;
|
| if (type is InterfaceType) {
|
| element = type.element;
|
| - } else if (type is ResolutionTypedefType) {
|
| + } else if (type is TypedefType) {
|
| // TODO(redemption): Handle typedef type literals from .dill.
|
| element = type.element;
|
| } else {
|
|
|