| Index: dart/tests/compiler/dart2js_foreign/native_method_with_keyword_name_test.dart
|
| diff --git a/dart/tests/compiler/dart2js_foreign/native_method_with_keyword_name_test.dart b/dart/tests/compiler/dart2js_foreign/native_method_with_keyword_name_test.dart
|
| index 2a7e491b5eaa3ac92e4e087b0bd87fa9217dc919..6a1551244c559259256adbc46b9ea19a1485c316 100644
|
| --- a/dart/tests/compiler/dart2js_foreign/native_method_with_keyword_name_test.dart
|
| +++ b/dart/tests/compiler/dart2js_foreign/native_method_with_keyword_name_test.dart
|
| @@ -4,14 +4,16 @@
|
|
|
| // Make sure we can have a native with a name that is a JavaScript keyword.
|
|
|
| -@native("*A")
|
| +import 'native_metadata.dart';
|
| +
|
| +@Native("*A")
|
| class A {
|
| @native int delete();
|
| }
|
|
|
| @native A makeA() { return new A(); }
|
|
|
| -@native("""
|
| +@Native("""
|
| function A() {}
|
| A.prototype.delete = function() { return 87; };
|
|
|
|
|