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
I strongly suspect, this is because they are being interpretated as closures, instead of or`s.
Also, i only encounterd this problem, when using matches, so far.
The text was updated successfully, but these errors were encountered:
I don't really know why that particular thing exists in the pattern grammar though. None of our test cases seemingly need it, and I can't even think of how the extra pipe_str? thing there makes sense. Turns out it originates from the very first commit that introduces the grammar (which had a "|"? instead, but essentially same thing).
If you'd like to package up the above diff, along with a test case (in tests/verus_consistency.rs) that acts as a regression test for this issue, and make a PR for it, that'd be great!
When running verusfmt on the following code:
it becomes this:
I strongly suspect, this is because they are being interpretated as closures, instead of or`s.
Also, i only encounterd this problem, when using matches, so far.
The text was updated successfully, but these errors were encountered: