Skip to content

logger: add -expect types prefix-log, prefix-warning, prefix-error #5183

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

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

widlarizer
Copy link
Collaborator

For #5135 I need to be able to check the correctness of filenames and line numbers in diagnostics. In this PR I add new types for logger -expect that also match not just on the content of the diagnostic but also on the prefix. I use this in new tests that cover some const2ast code. The intention is to resolve #5181 with this infrastructure soon

@widlarizer widlarizer requested a review from mmicko June 16, 2025 20:01
@widlarizer widlarizer added enhancement error handling Error handling and reporting labels Jun 16, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement error handling Error handling and reporting
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant