| Index: dart/tests/compiler/dart2js_foreign/native_no_such_method_exception4_test.dart
|
| diff --git a/dart/tests/compiler/dart2js_foreign/native_no_such_method_exception4_test.dart b/dart/tests/compiler/dart2js_foreign/native_no_such_method_exception4_test.dart
|
| index fa1f87844cf0c1064eae609fc901510da640c721..80559389da3fdd21e35172bdbb8a63f6036783ad 100644
|
| --- a/dart/tests/compiler/dart2js_foreign/native_no_such_method_exception4_test.dart
|
| +++ b/dart/tests/compiler/dart2js_foreign/native_no_such_method_exception4_test.dart
|
| @@ -2,21 +2,24 @@
|
| // 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;
|
| noSuchMethod(x,y) => "native($x:$y)";
|
| }
|
|
|
| -class B native "*B" {
|
| +@native("*B")
|
| +class B {
|
| baz() => 42;
|
| }
|
|
|
| -makeA() native;
|
| +@native makeA();
|
|
|
| -setup() native """
|
| +@native("""
|
| function A() {}
|
| makeA = function() { return new A; }
|
| -""";
|
| +""")
|
| +setup();
|
|
|
| main() {
|
| setup();
|
|
|