Repository navigation
Add infrastructure for compiler warnings - #1731
Conversation
|
I think ideally (and I should have commented this on the earlier PR), warnings wouldn't be returned, but handled as tracked side effects with |
|
Will look into this. Thanks for offering help, will definitely ping you on discord if I run into issues. |
|
My syntax crate refactoring created a bunch of conflicts, sorry about that. No major conflict from the looks of it though. |
Implemented with a linting pass before primary compilation. Additionally added a warning for empty bold sections and a test to verify functionality.
Now uses a `Warnings` struct that is tracked by comemo
|
No worries, I just resolved them. They were all fairly simple. Hopefully it still works! |
Refactored `Tracer` into separate file and changed `Vec`s in `Tracer` to `EcoVec`s
|
Thank you, I'm very happy how this turned out. :) |
Resolves #600. This PR is largely adapted from #990, but updated and compatible with the current codebase (hints, etc.). Also, for simplicity, this PR does not include the same
Ruleabstraction as #990.The implementation is accomplished with a linting pass before primary compilation. It additionally adds a warning for empty bold sections and a test to verify functionality.
Example output: