| Index: dart/tests/compiler/dart2js_foreign/native_call_arity3_test.dart
|
| diff --git a/dart/tests/compiler/dart2js_foreign/native_call_arity3_test.dart b/dart/tests/compiler/dart2js_foreign/native_call_arity3_test.dart
|
| index 2fa0b4e73af24318c0fd3b1125eb74f6c5379f75..fb2e00b0486fe0b4a517100025bfd09b77f44052 100644
|
| --- a/dart/tests/compiler/dart2js_foreign/native_call_arity3_test.dart
|
| +++ b/dart/tests/compiler/dart2js_foreign/native_call_arity3_test.dart
|
| @@ -6,12 +6,14 @@
|
| // parameters set to null. These parameters should be treated as if they
|
| // do not have a default value for the native methods.
|
|
|
| -@native("*A")
|
| +import 'native_metadata.dart';
|
| +
|
| +@Native("*A")
|
| class A {
|
| @native int foo(int x);
|
| }
|
|
|
| -@native("*B")
|
| +@Native("*B")
|
| class B {
|
| @native int foo([x = null, y, z = null]);
|
| }
|
| @@ -22,7 +24,7 @@ class B {
|
| @native A makeA() { return new A(); }
|
| @native B makeB() { return new B(); }
|
|
|
| -@native("""
|
| +@Native("""
|
| function A() {}
|
| A.prototype.foo = function () { return arguments.length; };
|
|
|
|
|