We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5596dac commit 63c3ccfCopy full SHA for 63c3ccf
src/lexer.coffee
@@ -170,7 +170,7 @@ exports.Lexer = class Lexer
170
isForFrom(prev)
171
tag = 'FORFROM'
172
@seenFor = no
173
- else if tag is 'PROPERTY' and prev and prev.spaced and prev[0] in CALLABLE and /^[g|s]et$/.test(prev[1])
+ else if tag is 'PROPERTY' and prev and prev.spaced and prev[0] in CALLABLE and /^[gs]et$/.test(prev[1])
174
@error "'#{prev[1]}' cannot be used as a keyword, or as a function call without parentheses", prev[2]
175
176
if tag is 'IDENTIFIER' and id in RESERVED
0 commit comments