You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The parser for MethodDefinition currently expects an identifier in it's new function. This is either the get or set keyword or the name of the method. The parse method then parses everything after this first identifier.
This is confusing, because the spec specifies that the first identifier belongs to the MethodDefinition.
We should either refactor the MethodDefinition parser to adhere to the spec or rename it to avoid confusion.
The parser for
MethodDefinition
currently expects an identifier in it'snew
function. This is either theget
orset
keyword or the name of the method. Theparse
method then parses everything after this first identifier.This is confusing, because the spec specifies that the first identifier belongs to the
MethodDefinition
.We should either refactor the
MethodDefinition
parser to adhere to the spec or rename it to avoid confusion.Relevant discussion: #1526 (comment)
The text was updated successfully, but these errors were encountered: