-
Notifications
You must be signed in to change notification settings - Fork 825
Better error reporting for return, yield, return! and yield!
#17792
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
Better error reporting for return, yield, return! and yield!
#17792
Conversation
❗ Release notes required
|
yield
and yield!
return, yield, return! and yield!
…harp into better-error-reporting-yield
The failing tests in this PR are the |
Hmm looking at the tests, this change indeed breaks the code fix. Although the code fix itself is quite simple, shouldn't be a big deal, hope I'll get to it later today. |
There you go, there is some change in range/span arithmetic there, added a few extra tests just to be sure :) |
Thank you Sir. Enjoy the holidays :) |
…harp into better-error-reporting-yield
…harp into better-error-reporting-yield
…harp into better-error-reporting-yield
This is ready |
Description
Better error reporting for
return, yield, return! and yield!
Continuation of #17779
Before
After
Before
After
Before
After
Before
After
Checklist