We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Right now in the compiler's frontend tests we just check that expected errors happen. However, we don't check where they happen.
One way to do this would be in a way similar to how it's done in parser tests:
noir/compiler/noirc_frontend/src/parser/parser/statement.rs
Lines 711 to 724 in 8783e48
That is, allow squiggles bellow a line, pre-process that input and extract the span where the error would happen.
The text was updated successfully, but these errors were encountered:
Successfully merging a pull request may close this issue.
Right now in the compiler's frontend tests we just check that expected errors happen. However, we don't check where they happen.
One way to do this would be in a way similar to how it's done in parser tests:
noir/compiler/noirc_frontend/src/parser/parser/statement.rs
Lines 711 to 724 in 8783e48
That is, allow squiggles bellow a line, pre-process that input and extract the span where the error would happen.
The text was updated successfully, but these errors were encountered: