| Index: dart/tests/compiler/dart2js_foreign/native_class_is_check3_test.dart
|
| diff --git a/dart/tests/compiler/dart2js_foreign/native_class_is_check3_test.dart b/dart/tests/compiler/dart2js_foreign/native_class_is_check3_test.dart
|
| index cae73e798bc8d1695dd326aa7d5dc147edd0ab28..464e59319c11d56a467a98c197563a61b3e727d2 100644
|
| --- a/dart/tests/compiler/dart2js_foreign/native_class_is_check3_test.dart
|
| +++ b/dart/tests/compiler/dart2js_foreign/native_class_is_check3_test.dart
|
| @@ -4,6 +4,8 @@
|
|
|
| // Test for correct simple is-checks on hidden native classes.
|
|
|
| +import 'native_metadata.dart';
|
| +
|
| interface J {
|
| }
|
|
|
| @@ -14,21 +16,21 @@ interface I extends J {
|
|
|
| // Native implementation.
|
|
|
| -@native("*A")
|
| +@Native("*A")
|
| class A implements I {
|
| // The native class accepts only other native instances.
|
| @native A read();
|
| @native write(A x);
|
| }
|
|
|
| -@native("*B")
|
| +@Native("*B")
|
| class B extends A {
|
| }
|
|
|
| @native makeA();
|
| @native makeB();
|
|
|
| -@native("""
|
| +@Native("""
|
| // This code is all inside 'setup' and so not accesible from the global scope.
|
| function inherits(child, parent) {
|
| if (child.prototype.__proto__) {
|
|
|