You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Not blocking to this PR: IIUC, now any parse operation can return a Nonterminal, right?
I wonder if we should also change the type of ParseOutput::tree() from Node to Nonterminal. Users always pass a NonterminalKind to parse(), so it makes sense to expect a Nonterminal with the same kind back. Thoughts?
…1187)
Solves #1184
To go on top of #1172
This has a big impact in the failing examples, which now return the
expected `NonTerminal`.
This was acknowledgedly coded by playing the whack-a-mole with the type
system. I'm not so happy with the bunch of `Rc::clone()` that leaked
out; I will consider an alternative once we settle this is what we need
and there are no more pressing issues.
Currently doing a full CI run locally to find what more to fix. In the
meantime, I'll mark this as draft.
Originally posted by @OmarTawfik in #1172 (comment)
The text was updated successfully, but these errors were encountered: