| Index: dart/tests/compiler/dart2js_foreign/native_no_such_method_exception3_test.dart
|
| diff --git a/dart/tests/compiler/dart2js_foreign/native_no_such_method_exception3_test.dart b/dart/tests/compiler/dart2js_foreign/native_no_such_method_exception3_test.dart
|
| index a3cc9ce5ea349351f5e39729b119cab8b19f66ab..df215d2d39879f68154de6be27d9993ee094e764 100644
|
| --- a/dart/tests/compiler/dart2js_foreign/native_no_such_method_exception3_test.dart
|
| +++ b/dart/tests/compiler/dart2js_foreign/native_no_such_method_exception3_test.dart
|
| @@ -2,11 +2,13 @@
|
| // 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;
|
| }
|
|
|
| @@ -15,12 +17,13 @@ class C {
|
| noSuchMethod(x, y) => "$x:$y";
|
| }
|
|
|
| -makeA() native;
|
| +@native makeA();
|
|
|
| -setup() native """
|
| +@native("""
|
| function A() {}
|
| makeA = function() { return new A; }
|
| -""";
|
| +""")
|
| +setup();
|
|
|
| main() {
|
| setup();
|
|
|