Skip to content

Instantly share code, notes, and snippets.

@toivoh
Created December 27, 2012 07:18
Show Gist options
  • Save toivoh/4386264 to your computer and use it in GitHub Desktop.
Save toivoh/4386264 to your computer and use it in GitHub Desktop.
Type inference crash with PatternDispatch.jl
_ _ _(_)_ | A fresh approach to technical computing
(_) | (_) (_) | Documentation: http://docs.julialang.org
_ _ _| |_ __ _ | Type "help()" to list help topics
| | | | | | |/ _` | |
| | |_| | | | (_| | | Version 0.0.0+105549818.rb65f
_/ |\__'_|_|_|\__'_| | Commit b65f0478b4 (2012-12-26 20:02:44)
|__/ |
julia> include("test_show_dispatch.jl")
type error: subtype: expected Type{T<:Top}, got (CompositeKind,{:i0, Int64, #undef, #undef, #undef … :vals, Array{Any,1}, :#s176, Int64})
in typeseq at inference.jl:55
in typeinf at inference.jl:990
in typeinf_ext at inference.jl:967
in anonymous at no file:32
in include at boot.jl:248
at test_show_dispatch.jl:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment