Closed
Description
Here's a fun one.
julia> using FixedPointNumbers
julia> stringmime("text/html", methods(writemime))
ERROR: type UnionType has no field body
in show at show.jl:80 (repeats 2 times)
in print_to_string at /Users/mike/Documents/Julia-0.3.0.app/Contents/Resources/julia/lib/julia/sys.dylib
in argtype_decl at methodshow.jl:18
in arg_decl_parts at methodshow.jl:30
in writemime at methodshow.jl:108
in writemime at methodshow.jl:137
in sprint at iostream.jl:229
in stringmime at multimedia.jl:71
in stringmime at multimedia.jl:88
julia> methods(writemime) # or methods(fft)
# Same error
julia> methods(sqrt)
# Fine
julia> methods(show)
ERROR: `nbitsfrac` has no method matching nbitsfrac(::Type{Ufixed})
in show at /Users/mike/.julia/v0.3/FixedPointNumbers/src/ufixed.jl:165
in show at expr.jl:53
in show_delim_array at show.jl:178
in show at methodshow.jl:38
in show_method_table at methodshow.jl:61
in show at methodshow.jl:74
in anonymous at show.jl:1122
in with_output_limit at /Users/mike/Documents/Julia-0.3.0.app/Contents/Resources/julia/lib/julia/sys.dylib
in showlimited at show.jl:1121
in writemime at replutil.jl:2
in display at REPL.jl:118
in display at REPL.jl:121
in display at multimedia.jl:149
in print_response at REPL.jl:140
in print_response at REPL.jl:125
in anonymous at REPL.jl:584
in run_interface at /Users/mike/Documents/Julia-0.3.0.app/Contents/Resources/julia/lib/julia/sys.dylib (repeats 2 times)
in run_frontend at /Users/mike/Documents/Julia-0.3.0.app/Contents/Resources/julia/lib/julia/sys.dylib
in run_repl at /Users/mike/Documents/Julia-0.3.0.app/Contents/Resources/julia/lib/julia/sys.dylib
in _start at /Users/mike/Documents/Julia-0.3.0.app/Contents/Resources/julia/lib/julia/sys.dylib (repeats 2 times)
But this only occurs after FixedPointNumbers is loaded (and AFAICT no other packages cause the problem).
(v0.3 BTW)
Metadata
Metadata
Assignees
Labels
No labels