| Index: tests/compiler/dart2js_native/native_property_frog_test.dart
|
| diff --git a/tests/compiler/dart2js_native/native_property_frog_test.dart b/tests/compiler/dart2js_native/native_property_frog_test.dart
|
| index 61b4808cee6085534fc8e04dc4f71f2b4d1dcac5..ef03e3eac83e17ba8d2fa2efe40536f186125af6 100644
|
| --- a/tests/compiler/dart2js_native/native_property_frog_test.dart
|
| +++ b/tests/compiler/dart2js_native/native_property_frog_test.dart
|
| @@ -7,8 +7,8 @@
|
| class A native "*A" {
|
|
|
| // Setters and getters should be similar to these methods:
|
| - int getX() native 'return this._x;';
|
| - void setX(int value) native 'this._x = value;';
|
| + int getX() => JS('int', '#._x', this);
|
| + void setX(int value) { JS('void', '#._x = #', this, value); }
|
|
|
| int get X() native;
|
| set X(int value) native;
|
| @@ -16,8 +16,8 @@ class A native "*A" {
|
| int get Y() native;
|
| set Y(int value) native;
|
|
|
| - int get Z() native 'return this._z;';
|
| - set Z(int value) native 'this._z = value;';
|
| + int get Z => JS('int', '#._z', this);
|
| + set Z(int value) { JS('void', '#._z = #', this, value); }
|
| }
|
|
|
| A makeA() native { return new A(); }
|
|
|