| Index: pkg/compiler/lib/src/js_backend/backend_serialization.dart
|
| diff --git a/pkg/compiler/lib/src/js_backend/backend_serialization.dart b/pkg/compiler/lib/src/js_backend/backend_serialization.dart
|
| index 834daaea3b87b0111bfae81654913cd8dbac5485..a4e577e1fe46dea59a7101fe7ec5a63e38ed5554 100644
|
| --- a/pkg/compiler/lib/src/js_backend/backend_serialization.dart
|
| +++ b/pkg/compiler/lib/src/js_backend/backend_serialization.dart
|
| @@ -5,8 +5,9 @@
|
| library js_backend.serialization;
|
|
|
| import '../common/backend_api.dart' show BackendSerialization;
|
| -import '../elements/resolution_types.dart';
|
| import '../elements/elements.dart';
|
| +import '../elements/resolution_types.dart';
|
| +import '../elements/types.dart';
|
| import '../js/js.dart' as js;
|
| import '../native/native.dart';
|
| import '../serialization/keys.dart';
|
| @@ -156,7 +157,7 @@ class NativeBehaviorSerialization {
|
| static const int SPECIAL_TYPE = 2;
|
|
|
| static int getTypeKind(var type) {
|
| - if (type is ResolutionDartType) {
|
| + if (type is DartType) {
|
| // TODO(johnniwinther): Remove this when annotation are no longer resolved
|
| // to this-types.
|
| if (type is GenericType &&
|
|
|