JuliaAttic / Color.jl

Basic color manipulation utilities.
Other
47 stars 21 forks source link

convert error #68

Closed bjarthur closed 9 years ago

bjarthur commented 9 years ago

with julia 0.3.1 on windows 7

julia> using Color

julia> { 1 => (1,1,1,1,1,1,1,1,1.,false) }
Dict{Any,Any} with 1 entry:
  1 => (1,1,1,1,1,1,1,1,1.0,false)

julia> convert((Int...), (uint(1),))
ERROR: `convert` has no method matching convert(::Type{Int64...}, ::Uint64)
 in convert at base.jl:13

this is fixed if i simply Pkg.pin("Color",v"0.3.9")

likely related to https://github.com/JuliaLang/julia/issues/8631 and https://github.com/timholy/HDF5.jl/issues/160

timholy commented 9 years ago

Sure, but it's just revealing a bug in julia---the changes after v0.3.9 are only to update to the new Dict syntax.

bjarthur commented 9 years ago

perhaps update Color v0.3.10's REQUIRE file to specify julia 0.3.2, assuming that the fix will be backported?

timholy commented 9 years ago

There isn't a fix yet; myself, I won't have time to look into this for the next 3 weeks or so.

Though I guess I didn't realize you could trigger this on 0.3, too. I'll add that info to JuliaLang/julia#8631. Thanks!

jiahao commented 9 years ago

Closed by #73