Hi, I find this bug in my new project with activating the range generation option.
Without this change, in ToSpan impls, it outputs Boolean::BooleanTrue(v) => v.span(), instead of Boolean::True(v) => v.span(), for grammars like Boolean: True | False, and ASTType::UNNAMED(v) => { for grammar symbols with *Opt suffix.
I have tried to add failing tests about this, but I cannot figure out a proper place to have this test case and test data.
Hi, I find this bug in my new project with activating the range generation option.
Without this change, in
ToSpan
impls, it outputsBoolean::BooleanTrue(v) => v.span(),
instead ofBoolean::True(v) => v.span(),
for grammars likeBoolean: True | False
, andASTType::UNNAMED(v) => {
for grammar symbols with*Opt
suffix.I have tried to add failing tests about this, but I cannot figure out a proper place to have this test case and test data.