| Index: dart/tests/compiler/dart2js_foreign/native_no_such_method_exception2_test.dart
|
| diff --git a/dart/tests/compiler/dart2js_foreign/native_no_such_method_exception2_test.dart b/dart/tests/compiler/dart2js_foreign/native_no_such_method_exception2_test.dart
|
| index 84740ef8a4623ea0c360bd4aa23497c689490d4c..65f95174d3c5814e86bc0e995ba4400f9a392e67 100644
|
| --- a/dart/tests/compiler/dart2js_foreign/native_no_such_method_exception2_test.dart
|
| +++ b/dart/tests/compiler/dart2js_foreign/native_no_such_method_exception2_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.
|
|
|
| -@native("*A")
|
| +import 'native_metadata.dart';
|
| +
|
| +@Native("*A")
|
| class A {
|
| }
|
|
|
| -@native("*B")
|
| +@Native("*B")
|
| class B extends A {
|
| @native foo();
|
| }
|
| @@ -14,7 +16,7 @@ class B extends A {
|
| @native makeA();
|
| @native makeB();
|
|
|
| -@native("""
|
| +@Native("""
|
| function inherits(child, parent) {
|
| if (child.prototype.__proto__) {
|
| child.prototype.__proto__ = parent.prototype;
|
|
|