Potentially missing grammar for javascript tokenizer (Symbol.iterator)
kdog3682 opened this issue · 1 comments
kdog3682 commented
class Foo {
constructor() { /* works fine */ }
method() { /* works fine */ }
[Symbol.iterator]() { /* doesnt seem to work */ }
}
Maybe it is an error on my part, but when I am trying to tokenize the above code, it breaks down around the Symbol.iterator part.
marijnh commented
Attached patch should fix this.