- 
          
- 
                Notifications
    You must be signed in to change notification settings 
- Fork 5.7k
fix: trigger error hints on exception supertypes too #59843
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
Conversation
| I'm afraid I can't offer a full review, but I do want to say that I love  | 
| @vtjnash Could you review this? | 
| And maybe also @timholy? | 
| Crap, I struggled with the master build on my Mac so I didn't test locally but judging by CI it seems that which makes sense since  | 
| 
 Not at all, you can still use  | 
Co-authored-by: Jameson Nash <[email protected]>
Co-authored-by: Guillaume Dalle <[email protected]>
| @vtjnash Can you do another review? | 
| @gdalle I think the CI failures are related to this PR. Are you able to build this PR branch locally?  | 
| The Build jobs are hanging on CI, reproducible after a retry. Master is green, so this seems related to the PR. | 
| 
 @gdalle Try building master first, before you try building this PR. I just confirmed that I can successfully build master (c1353ac) locally on an M2 MacBook. | 
| @vtjnash Any idea why this PR would cause a hang when building Julia? | 
| I'll try building tomorrow and report back. Hope we can sneak this into 1.13 | 
| I tried to build locally,  | 
| Could it be an infinite  while ex_supertype != AnyThat seems unlikely but it is the only reason I can think of for a timeout | 
| Seems unlikely but also easy to check: You could keep track of types you have already seen and then abort the loop once  Perhaps simpler for debugging: Keep track of the number of iterations and if it exceeds e.g. 20 or so then you log the type and abort the loop. | 
| I figured it out: the shortcut  | 
|  | 
| Oh right, the test suite is doing some weird popping so that the length doesn't stay even. I'll fix it tomorrow | 
| Now my new test is passing but some older tests are failing, partly because the error prints more than it used to 🤔 | 
| Why was this merged despite breaking CI? | 
| CI said it passed | 
| Okay, it seems that the buildkite failure is unrelated then | 

Fixes #58367