| 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 ca530dde38c7a1d3560db5e7383b64bd7f7857d2..ee9d30ef6c3444bc5c12dcef5bba9a5b038c5b55 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,19 +2,21 @@
|
| // 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;
|
| }
|
|
|
| -@native("*B")
|
| +@Native("*B")
|
| class B {
|
| foo() => 42;
|
| }
|
|
|
| @native makeA();
|
|
|
| -@native("""
|
| +@Native("""
|
| function A() {}
|
| makeA = function() { return new A; }
|
| """)
|
|
|