Skip to content

Error showing show #73

@sjbreiner

Description

@sjbreiner

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)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions