-
Notifications
You must be signed in to change notification settings - Fork 14
Update to renamed v1.12 global method table #48
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
Update to renamed v1.12 global method table #48
Conversation
src/Tricks.jl
Outdated
| mt_edges = Core.Compiler.vect(mt, Tuple{f,Vararg{Any}}) | ||
| else | ||
| mt = Core.GlobalMethods | ||
| mt = Core.methodtable |
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.
How about doing
mt = hasproperty(Core, :GlobalMethods) ? Core.GlobalMethods : Core.methodtable # was called this in 1.12-dev/1.12-rc1 before changed in 1.12-rc2
So we don't have to worry about going back and remembering this.
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.
ooo yes that's better - thanks!
|
I have added you as a colaborator |
Pull Request Test Coverage Report for Build 16826232061Warning: This coverage report may be inaccurate.This pull request's base commit is no longer the HEAD commit of its target branch. This means it includes changes from outside the original pull request, including, potentially, unrelated coverage changes.
Details
💛 - Coveralls |
when-rc2is out (should also bump CI version then... what a pain)🙄 JuliaLang/julia#59158
Follow-up to #47