| Index: dart/tests/compiler/dart2js_foreign/native_method_rename2_test.dart
|
| diff --git a/dart/tests/compiler/dart2js_foreign/native_method_rename2_test.dart b/dart/tests/compiler/dart2js_foreign/native_method_rename2_test.dart
|
| index 895b683e067f481afd05fab4450a5554f17960c7..767f61bff3bab4718e79fdffdddb3db044cf2c43 100644
|
| --- a/dart/tests/compiler/dart2js_foreign/native_method_rename2_test.dart
|
| +++ b/dart/tests/compiler/dart2js_foreign/native_method_rename2_test.dart
|
| @@ -4,22 +4,24 @@
|
|
|
| // Test the feature where the native string declares the native method's name.
|
|
|
| -@native("*A")
|
| +import 'native_metadata.dart';
|
| +
|
| +@Native("*A")
|
| class A {
|
| - @native('fooA')
|
| + @Native('fooA')
|
| int foo();
|
| }
|
|
|
| -@native("*B")
|
| +@Native("*B")
|
| class B extends A {
|
| - @native('fooB')
|
| + @Native('fooB')
|
| int foo();
|
| }
|
|
|
| @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__) {
|
|
|