Skip to content
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

show: Fix non-stacktrace show of toplevel MethodInstance #54338

Merged
merged 1 commit into from
May 3, 2024

Conversation

Keno
Copy link
Member

@Keno Keno commented May 2, 2024

While we're here, also check before accessing the uninferred field. Top-level MethodInstances should always have this, but the system doesn't enforce this and it's rude for a show method to throw on corrupted data (since that's what people use to debug that).

While we're here, also check before accessing the `uninferred` field.
Top-level MethodInstances should always have this, but the system
doesn't enforce this and it's rude for a `show` method to throw on
corrupted data (since that's what people use to debug that).
@Keno Keno merged commit cad6d1d into master May 3, 2024
7 checks passed
@Keno Keno deleted the kf/toplevelmishow branch May 3, 2024 03:37
lazarusA pushed a commit to lazarusA/julia that referenced this pull request Jul 12, 2024
…4338)

While we're here, also check before accessing the `uninferred` field.
Top-level MethodInstances should always have this, but the system
doesn't enforce this and it's rude for a `show` method to throw on
corrupted data (since that's what people use to debug that).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant