Closed kdog3682 closed 1 year ago
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.
Attached patch should fix this.
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.