Index: test/codegen/expect/methods/methods.js |
diff --git a/test/codegen/expect/methods/methods.js b/test/codegen/expect/methods/methods.js |
index 436bc92b2e7c9b27c37b0cd38d18582e65164192..ecf29383adedf16c42707c1bb2ec238ba9f29cb4 100644 |
--- a/test/codegen/expect/methods/methods.js |
+++ b/test/codegen/expect/methods/methods.js |
@@ -1,9 +1,10 @@ |
var methods; |
(function(methods) { |
'use strict'; |
+ let _c = Symbol('_c'); |
class A extends dart.Object { |
A() { |
- this._c = 3; |
+ this[_c] = 3; |
} |
x() { |
return 42; |
@@ -34,10 +35,10 @@ var methods; |
} |
set b(b) {} |
get c() { |
- return this._c; |
+ return this[_c]; |
} |
set c(c) { |
- this._c = c; |
+ this[_c] = c; |
} |
} |
class Bar extends dart.Object { |