Skip to content

Commit fb33998

Browse files
committed
[julia/show_error] Repro for JuliaLang/julia#13306, JuliaLang/julia#9471
1 parent 2d81f69 commit fb33998

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

julia/show_error/show_error.jl

+15
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
#!/usr/bin/julia -f
2+
3+
show2(x::DataType) = x.name
4+
show2(x::TypeConstructor) = x.body
5+
6+
type Foo{T}
7+
data::T
8+
end
9+
10+
show2{T}(::Type{Foo{T}}) = nothing
11+
12+
typealias TC{N} Array{Bool,N}
13+
14+
show2(Array{Bool})
15+
show2(TC)

0 commit comments

Comments
 (0)