Re: [julia-users] Type variables acting differently when accessed through an array

2014-06-18 Thread Tim Holy
Seems like a bug to me. Can you file as an issue? --Tim On Tuesday, June 17, 2014 11:37:59 AM Jack Holland wrote: > Does anyone have an explanation for why a type variable (e.g. Uint64) acts > differently when accessed in an array (e.g. [Uint64]) than by itself? > Here's some sample code to show

[julia-users] Type variables acting differently when accessed through an array

2014-06-17 Thread Jack Holland
Does anyone have an explanation for why a type variable (e.g. Uint64) acts differently when accessed in an array (e.g. [Uint64]) than by itself? Here's some sample code to show what I mean: import Base.convert function convert{T1<:Integer, T2<:String}(totype::Type{T1}, value::T2) println("conv