Closed
Description
Hi,
just run into the following:
abstract Mesh
function Base.show{M <: Mesh}(io::IO, ::Type{M})
end
julia> println(methods(similar))
#42 methods for generic function "similar":
similar(r::Range{T}, T::Type{T}, dims::Tuple{Vararg{Int64}}) at range.jl:252
similar(r::Range{T}, T::Type{T}, dims::Tuple{Vararg{Integer}}) at range.jl:251
similarERROR: type DataType has no field body
in show at show.jl:76 (repeats 2 times)
in show_delim_array at show.jl:219
in show at show.jl:73
in show_type_parameter at show.jl:82
in show at show.jl:92
in show_type_parameter at show.jl:82
in show at show.jl:92
in show at expr.jl:56
in show_type_parameter at show.jl:82
in show at show.jl:92
in print at strings/io.jl:5
in print_to_string at strings/io.jl:19
in argtype_decl at methodshow.jl:26
in arg_decl_parts at methodshow.jl:38
in show at methodshow.jl:44
in show_method_table at methodshow.jl:69
in print at strings/io.jl:5
in print at strings/io.jl:6
in println at strings/io.jl:8
in println at stream.jl:242
in println at strings/io.jl:11
Am I using some forbidden technique, or is this simply a bug?!
versioninfo()
Julia Version 0.4.0-dev+6492
Commit a6c78b6* (2015-08-04 07:48 UTC)
Platform Info:
System: Windows (x86_64-w64-mingw32)
CPU: Intel(R) Core(TM) i5-4200U CPU @ 1.60GHz
WORD_SIZE: 64
BLAS: libopenblas (USE64BITINT DYNAMIC_ARCH NO_AFFINITY Haswell)
LAPACK: libopenblas
LIBM: libopenlibm
LLVM: libLLVM-3.3
Best,
Simon
Metadata
Metadata
Assignees
Labels
No labels