Skip to content
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

internal: add missing reports and clean-up #421

Merged
merged 1 commit into from
Aug 21, 2022

Conversation

saem
Copy link
Collaborator

@saem saem commented Aug 20, 2022

Summary

added missing reports for the parser:

  • template missing end close
  • invalid expression
  • invalid filter

Misc:

  • created an enum for compiler verbosity
  • removed rparName, doesn't seem used at all
  • formatting fixes

@saem
Copy link
Collaborator Author

saem commented Aug 20, 2022

@haxscramper can you take a quick look at the rparName removal?

I don't think there is an issue, but just in case I didn't consider something.

@haxscramper
Copy link
Collaborator

No, no problems with rparName removal - IIRC it was created from parser "linter" diagnostics, but the whole thing wasn't used in the first place, apparently.

added missing reports for the parser:
- template missing end close
- invalid expression
- invalid filter

Misc:
- created an enum for compiler verbosity
- removed `rparName`, doesn't seem used at all
- formatting fixes
@saem
Copy link
Collaborator Author

saem commented Aug 20, 2022

hah, left some asserts in there.

@saem
Copy link
Collaborator Author

saem commented Aug 20, 2022

No, no problems with rparName removal - IIRC it was created from parser "linter" diagnostics, but the whole thing wasn't used in the first place, apparently.

Thanks for looking it over -- yeah that was my conclusion too.

@saem
Copy link
Collaborator Author

saem commented Aug 21, 2022

bors r+

@bors
Copy link
Contributor

bors bot commented Aug 21, 2022

Build succeeded:

@bors bors bot merged commit 837238f into nim-works:devel Aug 21, 2022
@saem saem deleted the saem-fix-missing-reports branch January 22, 2023 18:47
@saem saem restored the saem-fix-missing-reports branch January 22, 2023 18:47
@saem saem deleted the saem-fix-missing-reports branch January 22, 2023 18:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants