JuliaAttic / Color.jl

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

New ambiguity warning #70

Closed Keno closed 9 years ago

Keno commented 9 years ago
Warning: New definition
    convert(TypeConstructor,AbstractAlphaColorValue{D,T}) at /Users/kfischer/.julia/Color/src/conversions.jl:692
is ambiguous with:
    convert(Type{T},T) at base.jl:36.
To fix, define
    convert(Type{_<:AbstractAlphaColorValue{D,T}},_<:AbstractAlphaColorValue{D,T})
before the new definition.

@JeffBezanson I'm not sure how TypeConstructor works after the call branch merge. Could you have a look.

timholy commented 9 years ago

This is also the line at issue in https://github.com/JuliaLang/julia/issues/8818.

timholy commented 9 years ago

Fixed by e880cbf28b1be86167dfea56012047a45b334c5e