| Index: dart/tests/compiler/dart2js_foreign/native_class_with_dart_methods_test.dart
|
| diff --git a/dart/tests/compiler/dart2js_foreign/native_class_with_dart_methods_test.dart b/dart/tests/compiler/dart2js_foreign/native_class_with_dart_methods_test.dart
|
| index 21c84fb2b703435622f793b007e25ca7e3ae3c2a..963263ef91cd8311c68b0f7b4c08f63f0296f9a0 100644
|
| --- a/dart/tests/compiler/dart2js_foreign/native_class_with_dart_methods_test.dart
|
| +++ b/dart/tests/compiler/dart2js_foreign/native_class_with_dart_methods_test.dart
|
| @@ -4,7 +4,9 @@
|
|
|
| // Additional Dart code may be 'placed on' hidden native classes.
|
|
|
| -@native("*A")
|
| +import 'native_metadata.dart';
|
| +
|
| +@Native("*A")
|
| class A {
|
|
|
| var _field;
|
| @@ -17,7 +19,7 @@ class A {
|
|
|
| @native A makeA() { return new A(); }
|
|
|
| -@native("""
|
| +@Native("""
|
| function A() {}
|
| makeA = function(){return new A;};
|
| """)
|
|
|