| Index: dart/tests/compiler/dart2js_foreign/native_no_such_method_exception5_test.dart
|
| diff --git a/dart/tests/compiler/dart2js_foreign/native_no_such_method_exception5_test.dart b/dart/tests/compiler/dart2js_foreign/native_no_such_method_exception5_test.dart
|
| index 5e4b580f21821da2d48a464ce87194c277d3908e..abb396156cbe0644ec8ff56c8e42a8562df2f12a 100644
|
| --- a/dart/tests/compiler/dart2js_foreign/native_no_such_method_exception5_test.dart
|
| +++ b/dart/tests/compiler/dart2js_foreign/native_no_such_method_exception5_test.dart
|
| @@ -2,13 +2,15 @@
|
| // 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;
|
| }
|
| @@ -20,7 +22,7 @@ class C {
|
|
|
| @native makeA();
|
|
|
| -@native("""
|
| +@Native("""
|
| function A() {}
|
| makeA = function() { return new A; }
|
| """)
|
|
|