| Index: test/codegen/expect/fieldtest.js
|
| diff --git a/test/codegen/expect/fieldtest.js b/test/codegen/expect/fieldtest.js
|
| index 2b281cb32900d780d4d3035bed59c66e16a53927..cd6407ccc312f09b951d0ae7e2aefc7d6be65a7f 100644
|
| --- a/test/codegen/expect/fieldtest.js
|
| +++ b/test/codegen/expect/fieldtest.js
|
| @@ -66,11 +66,17 @@ dart_library.library('fieldtest', null, /* Imports */[
|
| };
|
| fieldtest.Derived = class Derived extends fieldtest.BaseWithGetter {
|
| Derived() {
|
| - this.foo = 2;
|
| + this[foo] = 2;
|
| this.bar = 3;
|
| }
|
| + get foo() {
|
| + return this[foo];
|
| + }
|
| + set foo(value) {
|
| + this[foo] = value;
|
| + }
|
| };
|
| - dart.virtualField(fieldtest.Derived, 'foo');
|
| + const foo = Symbol(fieldtest.Derived.name + "." + 'foo'.toString());
|
| fieldtest.Generic$ = dart.generic(T => {
|
| class Generic extends core.Object {
|
| foo(t) {
|
|
|