-
Notifications
You must be signed in to change notification settings - Fork 196
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
salsa 3.0 #1033
salsa 3.0 #1033
Conversation
Fixes infinite loop in salsa debug printing
I'd be fine with this being merged as-is, btw. The subdiagnostic ingot thing could be addressed separately. |
@sbillig I took a look and it seems reasonable. With respect to the subdiagnostic ingot issue, I'm fine with merging as is and adding a followup issue as there is another related cleanup chore that needs to happen: I need to ensure that |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍
@Y-Nak I removed the InputIngot field from InputFile to avoid the infinite loop in the salsa object debug printing. This was a purely mechanical exercise of plumbing the appropriate InputIngot value around where it was needed in place of looking it up from the InputFile. Some of the impacted code could probably use some refactoring.
@micahscopes would you look at the latest commit's changes in the language server code? I added a
TODO
about a possibly incorrect IngotId being used for subdiagnostics. We probably need to look up the subdiagnostic's span's file's ingot manually there instead.