| Index: dart/tests/compiler/dart2js_foreign/native_class_is_check1_test.dart
|
| diff --git a/dart/tests/compiler/dart2js_foreign/native_class_is_check1_test.dart b/dart/tests/compiler/dart2js_foreign/native_class_is_check1_test.dart
|
| index c31cd8f88283b2a4205e6d033ebfd1ed9a8e8b71..ee73eaed7ca0cc8c041ea72bd44f2afc8f1f03eb 100644
|
| --- a/dart/tests/compiler/dart2js_foreign/native_class_is_check1_test.dart
|
| +++ b/dart/tests/compiler/dart2js_foreign/native_class_is_check1_test.dart
|
| @@ -4,6 +4,8 @@
|
|
|
| // Test for correct simple is-checks on hidden native classes.
|
|
|
| +import 'native_metadata.dart';
|
| +
|
| interface I {
|
| I read();
|
| write(I x);
|
| @@ -11,7 +13,7 @@ interface I {
|
|
|
| // Native implementation.
|
|
|
| -@native("*A")
|
| +@Native("*A")
|
| class A implements I {
|
| // The native class accepts only other native instances.
|
| @native A read();
|
| @@ -20,7 +22,7 @@ class A implements I {
|
|
|
| @native makeA();
|
|
|
| -@native("""
|
| +@Native("""
|
| // This code is all inside 'setup' and so not accesible from the global scope.
|
| function A(){}
|
| A.prototype.read = function() { return this._x; };
|
|
|