Fixing private-getter-brand-check-multiple-evaluations-of-class-function-ctor to use private getter. (#2259)

This commit is contained in:
Caio Lima 2019-07-30 11:53:12 -07:00 committed by Leo Balter
parent 67ab89a4cb
commit 98d4844997
1 changed files with 2 additions and 2 deletions

View File

@ -21,10 +21,10 @@ features: [class, class-methods-private]
let classStringExpression = `
return class {
get m() { return 'test262'; }
get #m() { return 'test262'; }
access(o) {
return o.m;
return o.#m;
}
}
`;