-
Notifications
You must be signed in to change notification settings - Fork 248
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
wip: Trying to make chumsky 1.0.0 work #4072
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Since this is not the first effort to migrate to 1.0, I think it's alright if we have to remove a few of our existing parser recovery tests to make this work. We'll re-evaluate / rework recovery at a later date anyway. IIRC last time we tried to migrate to 1.0 we got everything working sans 2 parser recovery tests.
// TODO why chumsky reports reversed ranges?? | ||
if range.start > range.end { | ||
range = Range { start: range.end, end: range.start }; | ||
} else { | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This has been a problem in the past when using certain error recovery strategies I think. Hopefully it hasn't gotten more common with 1.0 😅
Because release candidates for
|
Closing as this branch seems abandoned |
Description
Problem*
Resolves
Summary*
Additional Context
Documentation*
Check one:
PR Checklist*
cargo fmt
on default settings.