REPL responds with Type{T}
to supertype(DataType)
, but
DataType <: Type{T}
is invalid. What is the correct name of supertype(DataType)
?
julia> DataType <: Type
true
1 Like
So, should the REPL respond with Type
to supertype(DataType)
instead of Type{T}
?
Julia 0.6 made things more clear:
julia> DataType <: Type{T} where T
true
Returning a type with free type variables seems suspicious on 0.6.