-
Notifications
You must be signed in to change notification settings - Fork 215
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
Enhancement: minimize diagnostic output #1538
Comments
Yes this is a very valid bug report. The compiler sometimes creates many spurious diagnostics in this situation. Thanks for reporting. The general idea is to continue analysing the code even if there are errors. While this might be useful sometimes, it is not implement correct currently, leading to many spurious errors. For example, compiling the uniswap v2 route
Instead, I get this diagnostics output
Full diagnostics output
|
I've been digging through a lot of parser diagnostics, and some relatively minor errors can cause huge outputs (thousands of lines for a single bug).
The mechanism that causes the blowup is:
While this isn't strictly a bug, I think minimizing this output is crucial for giving users good feedback.
The text was updated successfully, but these errors were encountered: