| 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 b0eddc719df214e62339d65f3d5c72aa3afd7e24..b68e078b1c6467c695db920dfbadafefe3bab5be 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,20 +2,22 @@
|
| // 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.
|
|
|
| -@native("*A")
|
| +import 'native_metadata.dart';
|
| +
|
| +@Native("*A")
|
| class A {
|
| bar() => 42;
|
| noSuchMethod(x,y) => "native($x:$y)";
|
| }
|
|
|
| -@native("*B")
|
| +@Native("*B")
|
| class B {
|
| baz() => 42;
|
| }
|
|
|
| @native makeA();
|
|
|
| -@native("""
|
| +@Native("""
|
| function A() {}
|
| makeA = function() { return new A; }
|
| """)
|
|
|