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

Can we prettify how methods are printed as in #36026? #36129

Closed
singularitti opened this issue Jun 3, 2020 · 5 comments · Fixed by #45069
Closed

Can we prettify how methods are printed as in #36026? #36129

singularitti opened this issue Jun 3, 2020 · 5 comments · Fixed by #45069

Comments

@singularitti
Copy link
Contributor

singularitti commented Jun 3, 2020

The current output of ClearStacktrace.jl is pretty good. I just wonder if the same technique discussed in #36026 can be used on how methods are printed in methods and methodswith? Considering the different result types of them, maybe we need to redefine how methods are shown?

julia> methodswith(Int) |> typeof
Array{Method,1}

julia> methods(Int) |> typeof
Base.MethodList
@thofma
Copy link
Contributor

thofma commented Jun 3, 2020

@singularitti
Copy link
Contributor Author

singularitti commented Jun 3, 2020

Related: https://github.com/chris-b1/MethodsFor.jl

Thank you, cool package! Though it still does not solve my concern: its printed message is not detailed, no types, no function locations, etc.

@User-764Q
Copy link

Thanks for raising this issue.

The output is still as you described in Julia 1.6.2, is there a useful label you could apply to the issue to help more people find it?

Matt.

@laborg
Copy link
Contributor

laborg commented Feb 22, 2022

In a sense a duplicate of #30110

@vtjnash
Copy link
Member

vtjnash commented Feb 22, 2022

Will be closed by #40251

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
5 participants