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

Error showing show #73

Open
sjbreiner opened this issue Aug 30, 2022 · 0 comments
Open

Error showing show #73

sjbreiner opened this issue Aug 30, 2022 · 0 comments

Comments

@sjbreiner
Copy link

Steps to reproduce:

# Results
julia> using GeneralizedGenerated

julia> methods(show)

[74] Error showing value of type Base.MethodList:
ERROR: UndefVarError: Name not defined
Stacktrace:
  [1] show(io::IOContext{IOBuffer}, #unused#::
SYSTEM (REPL): showing an error caused an error
ERROR: UndefVarError: Name not defined
Stacktrace:
  [1] show(io::IOContext{IOBuffer}, #unused#::
SYSTEM (REPL): caught exception of type UndefVarError while trying to handle a nested exception; giving up

There seem to be two offending methods (for me), both located in module GeneralizedGenerated.NGG. The only useful information I was able to identify for the methods themselves are their roots attributes:
Problem method 1:

9-element Vector{Any}:
 :from_type
 :join
 ", "
 :|>
 :rmlines
 " = ("
 ";"
 ") -> "
 Symbol("/home/spencer/.julia/packages/GeneralizedGenerated/72VHh/src/ngg/runtime_fns.jl")

Problem method 2:

8-element Vector{Any}:
                   "ggfunc-"
                   Symbol("/home/spencer/.julia/packages/GeneralizedGenerated/72VHh/src/ngg/runtime_fns.jl")
                   MethodInstance for unsafe_write(::IOBuffer, ::Ptr{UInt8}, ::UInt64)
 0x0000000000000001
 0x0000000000000000
                   MethodInstance for throw_inexacterror(::Symbol, ::Type{Int64}, ::UInt64)
                   MethodInstance for write(::VSCodeServer.LimitIO{IOBuffer}, ::UInt8)
                   MethodInstance for unsafe_write(::Base.TTY, ::Ptr{UInt8}, ::UInt64)
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

No branches or pull requests

1 participant