| Index: dart/tests/compiler/dart2js_foreign/native_no_such_method_exception_test.dart
|
| diff --git a/dart/tests/compiler/dart2js_foreign/native_no_such_method_exception_test.dart b/dart/tests/compiler/dart2js_foreign/native_no_such_method_exception_test.dart
|
| index e598db4011ca00bf95be7b3cee543640ca8c41a0..e3ae97c254c1c28161fe160d8e21207264ce3956 100644
|
| --- a/dart/tests/compiler/dart2js_foreign/native_no_such_method_exception_test.dart
|
| +++ b/dart/tests/compiler/dart2js_foreign/native_no_such_method_exception_test.dart
|
| @@ -2,20 +2,23 @@
|
| // 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 {
|
| bar() => 42;
|
| }
|
|
|
| -class B native "*B" {
|
| +@native("*B")
|
| +class B {
|
| foo() => 42;
|
| }
|
|
|
| -makeA() native;
|
| +@native makeA();
|
|
|
| -setup() native """
|
| +@native("""
|
| function A() {}
|
| makeA = function() { return new A; }
|
| -""";
|
| +""")
|
| +setup();
|
|
|
| main() {
|
| setup();
|
|
|