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

Weird error about UnionType when viewing methods #8174

Closed
davidssmith opened this issue Aug 28, 2014 · 2 comments
Closed

Weird error about UnionType when viewing methods #8174

davidssmith opened this issue Aug 28, 2014 · 2 comments

Comments

@davidssmith
Copy link
Contributor

I'm posting this here, because I think it is a Julia error, not a Gadfly error. It is not a big problem, since I don't need to list the methods of Gadfly.plot, but I thought I would mention it in case it is indicative of something more important.

julia> using Gadfly

julia> methods(plot)
#6 methods for generic function "plot":
plotError showing value of type MethodTable:
ERROR: type UnionType has no field body
 in show at show.jl:80 (repeats 2 times)
 in show_delim_array at show.jl:178
 in show at show.jl:197
 in print at string.jl:3
 in print at string.jl:4
 in show at show.jl:76
 in print at string.jl:3
 in print at string.jl:4
 in show at show.jl:84
 in print_to_string at /Applications/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 show at methodshow.jl:36
 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 /Applications/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 /Applications/Julia-0.3.0.app/Contents/Resources/julia/lib/julia/sys.dylib (repeats 2 times)
 in run_frontend at /Applications/Julia-0.3.0.app/Contents/Resources/julia/lib/julia/sys.dylib
 in run_repl at /Applications/Julia-0.3.0.app/Contents/Resources/julia/lib/julia/sys.dylib
 in _start at /Applications/Julia-0.3.0.app/Contents/Resources/julia/lib/julia/sys.dylib (repeats 2 times)

julia> versioninfo()
Julia Version 0.3.0
Commit 7681878* (2014-08-20 20:43 UTC)
Platform Info:
  System: Darwin (x86_64-apple-darwin13.3.0)
  CPU: Intel(R) Core(TM) i7-4870HQ CPU @ 2.50GHz
  WORD_SIZE: 64
  BLAS: libopenblas (USE64BITINT DYNAMIC_ARCH NO_AFFINITY Haswell)
  LAPACK: libopenblas
  LIBM: libopenlibm
  LLVM: libLLVM-3.3


@simonster
Copy link
Member

Presumably a dup of #8163

@davidssmith
Copy link
Contributor Author

Interesting. Appears to be.

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

2 participants