| Index: dart/tests/compiler/dart2js_foreign/native_null_closure_test.dart
|
| diff --git a/dart/tests/compiler/dart2js_foreign/native_null_closure_test.dart b/dart/tests/compiler/dart2js_foreign/native_null_closure_test.dart
|
| index f2b3489f5085b3591f601c04ef920f25abeb2499..7762d1c82639a61e159e98b745c8fed0807181b3 100644
|
| --- a/dart/tests/compiler/dart2js_foreign/native_null_closure_test.dart
|
| +++ b/dart/tests/compiler/dart2js_foreign/native_null_closure_test.dart
|
| @@ -2,9 +2,11 @@
|
| // 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.
|
|
|
| +import 'native_metadata.dart';
|
| +
|
| typedef void MyFunctionType();
|
|
|
| -@native("*A")
|
| +@Native("*A")
|
| class A {
|
| @native setClosure(MyFunctionType f);
|
| @native check(MyFunctionType f);
|
| @@ -13,7 +15,7 @@ class A {
|
|
|
| @native makeA() { return new A(); }
|
|
|
| -@native("""
|
| +@Native("""
|
| function A() {}
|
| A.prototype.setClosure = function(f) { this.f = f; };
|
| A.prototype.check = function(f) { return this.f === f; };
|
|
|