-
-
Notifications
You must be signed in to change notification settings - Fork 5.7k
follow up #52309 #52499
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
follow up #52309 #52499
Conversation
| stmt = GotoIfNot(v, stmt.dest) | ||
| elseif isa(stmt, EnterNode) | ||
| op == 1 || throw(BoundsError()) | ||
| stmt = EnterNode(stmt.catch_dest, v) |
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.
This should be stmt.scope now, right (like _useref_getindex)?
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.
It's not merged yet (#52309). But we probably should keep this handling.
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.
I think #52309 is good to go, so let me just merge that and then this can be rebased and reviewed on top.
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.
Ok, so I guess no changes are required on this part now. This PR does some minor followups on #52309.
| istaskstarted(t) && error("Setting scope on a started task directly is disallowed.") | ||
| end | ||
| return @invoke setproperty!(t::Any, field, v) | ||
| return @invoke setproperty!(t::Any, field::Symbol, v::Any) |
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.
v::Any particularly eliminates unnecessary call to Core.Typeof.
|
Can this get a better title/description? |
No description provided.