mozilla-spidermonkey / jsparagus

Experimental JS parser-generator project.
Other
448 stars 20 forks source link

Add private methods in the grammar #630

Closed arai-a closed 4 years ago

arai-a commented 4 years ago

https://treeherder.mozilla.org/logviewer.html#/jobs?job_id=314514767&repo=mozilla-central&lineNumber=123691

## test262/language/arguments-object/cls-expr-private-gen-meth-static-args-trailing-comma-single-args.js: rc = 3, run time = 0.054069
...
<unknown>:1:0 SyntaxError: syntax error on: Token { terminal_id: PrivateIdentifier, loc: SourceLocation { start: 1251, end: 1258 }, is_on_new_line: false, value: Atom(SourceAtomSetIndex { index: 59 }) }
TEST-UNEXPECTED-FAIL | test262/language/arguments-object/cls-expr-private-gen-meth-static-args-trailing-comma-single-args.js | (args: "--smoosh") [0.1 s]
arai-a commented 4 years ago

so, basically this is https://tc39.es/proposal-private-methods/

arai-a commented 4 years ago

https://treeherder.mozilla.org/#/jobs?repo=try&revision=53e70e6661f3b1f7986a1a5daa615604f2e7134f