Closed berekuk closed 4 months ago
Does attached patch look like it would work for you?
I think in my case the code was generated by a different branch that you need to update too, line 493 after your patch. (I see || -1
on the screenshot, not << 1
).
Oh, good point. Added another patch that makes the change there as well.
Looks good now!
From https://github.com/lezer-parser/lezer/issues/11#issuecomment-907630556:
This seems to have changed at some point.
My generated parser includes this code:
Which is not compatible with Typescript strict mode or
"noImplicitAny": true
: