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
Panic when analyzing package #972
Labels
Comments
4 tasks
Basic reproduction case:
|
dominikh
added a commit
that referenced
this issue
Apr 25, 2021
…tion will be dropped Updates gh-972
dominikh
added a commit
that referenced
this issue
May 1, 2021
Some IR values do not have a valid Source, most prominently constants. Don't panic when we can avoid it: when trying to emit related information, it makes more sense to drop the related information on the floor than to panic. We still panic for the toplevel diagnostic, because it makes no sense to print a diagnostic for an unknown location. It is an explicit panic now, however, so we get a more helpful message. Closes gh-972
3 tasks
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The text was updated successfully, but these errors were encountered: