| Index: tests/compiler/dart2js_native/native_class_fields_test.dart
|
| diff --git a/tests/compiler/dart2js_native/native_class_fields_test.dart b/tests/compiler/dart2js_native/native_class_fields_test.dart
|
| index c1b4855dd2f95e96598e3076013677c9fcbd73db..e37adbe9689c3cb7d42bf925949f55301161dd25 100644
|
| --- a/tests/compiler/dart2js_native/native_class_fields_test.dart
|
| +++ b/tests/compiler/dart2js_native/native_class_fields_test.dart
|
| @@ -13,7 +13,9 @@ class A {
|
| int method(int z) => myLongPropertyName;
|
| }
|
|
|
| -void setup() native r"""
|
| +void setup() {
|
| + JS('', r"""
|
| +(function(){
|
| function getter() {
|
| return ++this.getValue;
|
| }
|
| @@ -35,9 +37,10 @@ function A(){
|
| return a;
|
| }
|
|
|
| -makeA = function(){return new A;};
|
| +makeA = function(){return new A()};
|
| self.nativeConstructor(A);
|
| -""";
|
| +})()""");
|
| +}
|
|
|
| A makeA() native;
|
|
|
|
|