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

Qualify function when printing MethodInstance #38608

Merged
merged 2 commits into from
Dec 9, 2020
Merged

Conversation

timholy
Copy link
Sponsor Member

@timholy timholy commented Nov 29, 2020

Also print more info for the case l.def::Module.

The module qualification builds off #38596. I've wanted the module-qualifier for a long time, but I recognize it might be bad to add it so close to a release. If desired we can wait until 1.7.

Also print file & line for the case `l.def::Module`. This is already done
for stackframes but it is useful to implement it more generally.
base/show.jl Outdated Show resolved Hide resolved
Copy link
Member

@Sacha0 Sacha0 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks great --- thanks Tim! :)

@timholy
Copy link
Sponsor Member Author

timholy commented Dec 7, 2020

So, is it better to merge or hold off? I'm fine with either; it's more a question of whether it's better to make as many breaking changes to printing in one release as we can (https://julialang.slack.com/archives/C67TK21LJ/p1607230631257400) or to spread them out. I would go for the former except for the fact that I expect most major packages have already finished dealing with this issue.

@timholy
Copy link
Sponsor Member Author

timholy commented Dec 9, 2020

Since this has one approval and we've branched for 1.7, let's do it...

@timholy timholy merged commit 448f85d into master Dec 9, 2020
@timholy timholy deleted the teh/show_methinst branch December 9, 2020 15:56
aviatesk added a commit to aviatesk/JET.jl that referenced this pull request Dec 9, 2020
timholy added a commit to timholy/MethodAnalysis.jl that referenced this pull request Dec 13, 2020
timholy added a commit to timholy/MethodAnalysis.jl that referenced this pull request Dec 13, 2020
timholy added a commit to timholy/MethodAnalysis.jl that referenced this pull request Dec 13, 2020
timholy added a commit to timholy/SnoopCompile.jl that referenced this pull request Dec 13, 2020
Starting with JuliaLang/julia#38608,
MethodInstances are printed with module-qualifiers.
timholy added a commit to timholy/SnoopCompile.jl that referenced this pull request Dec 13, 2020
Starting with JuliaLang/julia#38608,
MethodInstances are printed with module-qualifiers.
ElOceanografo pushed a commit to ElOceanografo/julia that referenced this pull request May 4, 2021
Also print file & line for the case `l.def::Module`. This is already done
for stackframes but it is useful to implement it more generally.
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

2 participants