Index: tests/compiler/dart2js_native/subclassing_type_test.dart |
diff --git a/tests/compiler/dart2js_native/subclassing_type_test.dart b/tests/compiler/dart2js_native/subclassing_type_test.dart |
index 34748bf977f59741216a6de94c6a1a46e88a34f4..abcb629f3b8f1dcdc5a6f457fce604cef187ed05 100644 |
--- a/tests/compiler/dart2js_native/subclassing_type_test.dart |
+++ b/tests/compiler/dart2js_native/subclassing_type_test.dart |
@@ -3,7 +3,7 @@ |
// BSD-style license that can be found in the LICENSE file. |
import "package:expect/expect.dart"; |
-import 'dart:_js_helper' show Creates, setNativeSubclassDispatchRecord; |
+import 'dart:_js_helper' show Native, Creates, setNativeSubclassDispatchRecord; |
import 'dart:_interceptors' show Interceptor, findInterceptorForType; |
// Test that type checks and casts work for subclasses of native classes and |
@@ -11,7 +11,8 @@ import 'dart:_interceptors' show Interceptor, findInterceptorForType; |
class M {} |
-class N native "N" {} |
+@Native("N") |
+class N {} |
class A extends N {} |