| Index: dart/tests/compiler/dart2js_foreign/native_missing_method1_test.dart
|
| diff --git a/dart/tests/compiler/dart2js_foreign/native_missing_method1_test.dart b/dart/tests/compiler/dart2js_foreign/native_missing_method1_test.dart
|
| index 0b3167924accb76f13eeff9d15a79d1877e3c427..e750e5a9c17442bc6a68678781a86fee2221bc50 100644
|
| --- a/dart/tests/compiler/dart2js_foreign/native_missing_method1_test.dart
|
| +++ b/dart/tests/compiler/dart2js_foreign/native_missing_method1_test.dart
|
| @@ -2,16 +2,18 @@
|
| // for details. All rights reserved. Use of this source code is governed by a
|
| // BSD-style license that can be found in the LICENSE file.
|
|
|
| -class A native "*A" {
|
| +@native("*A")
|
| +class A {
|
| }
|
|
|
| -makeA() native;
|
| +@native makeA();
|
|
|
| -void setup() native """
|
| +@native("""
|
| function A() {};
|
| A.prototype.foo = function() { return 42; }
|
| makeA = function() { return new A; }
|
| -""";
|
| +""")
|
| +void setup();
|
|
|
| class B {
|
| // We need to define a foo method so that Frog sees it. Because it's
|
|
|