mirror of
https://github.com/tc39/test262.git
synced 2025-04-08 19:35:28 +02:00
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 = `
|
||||
return class {
|
||||
get m() { return 'test262'; }
|
||||
get #m() { return 'test262'; }
|
||||
|
||||
access(o) {
|
||||
return o.m;
|
||||
return o.#m;
|
||||
}
|
||||
}
|
||||
`;
|
||||
|
Loading…
x
Reference in New Issue
Block a user