Lark.js icon indicating copy to clipboard operation
Lark.js copied to clipboard

Fix ParserInteractive.accepts

Open thekevinscott opened this issue 1 year ago • 2 comments

thekevinscott avatar Feb 19 '24 09:02 thekevinscott

(Yes, the failure is due to the Lark python version not being pinned. We'll try again later)

erezsh avatar Feb 19 '24 09:02 erezsh

Though this fixes the specific bug I encountered, I may have introduced another bug.

Should t refer to the key of the choices dictionary, or the value?

It seems like it should be referencing the key, as far as I can tell from poking around my generated parser, but in this PR I have it referencing the dict's value.

thekevinscott avatar Feb 19 '24 12:02 thekevinscott