mirror of https://github.com/tc39/test262.git
Fixing private-getter-brand-check-multiple-evaluations-of-class-function-ctor to use private getter. (#2259)
This commit is contained in:
parent
67ab89a4cb
commit
98d4844997
|
@ -21,10 +21,10 @@ features: [class, class-methods-private]
|
||||||
|
|
||||||
let classStringExpression = `
|
let classStringExpression = `
|
||||||
return class {
|
return class {
|
||||||
get m() { return 'test262'; }
|
get #m() { return 'test262'; }
|
||||||
|
|
||||||
access(o) {
|
access(o) {
|
||||||
return o.m;
|
return o.#m;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
`;
|
`;
|
||||||
|
|
Loading…
Reference in New Issue