JuliaStaging / JuliaStaging/GeneralizedGenerated.jl

Error showing `show`

Open
#73 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Julia
Stars
89
Forks
12
PR merge metrics
No merged PRs in 30d

Description

Steps to reproduce:
```julia
# 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:
```julia
9-element Vector{Any}:
:from_type
:join
", "
:|>
:rmlines
" = ("
";"
") -> "
Symbol("/home/spencer/.julia/packages/GeneralizedGenerated/72VHh/src/ngg/runtime_fns.jl")
```
Problem method 2:
```julia
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)
```

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.