Hi Andrew,

The issue is being tracked here: 
https://github.com/JuliaLang/julia/issues/6984, and the current milestone 
is v0.5. My understanding is that the syntax being proposed is not the same 
as the one you used above, but that triangular dispatch will nonetheless be 
possible as a special case.

Cheers,

Colin


On Sunday, 22 November 2015 23:38:29 UTC+11, andrew cooke wrote:
>
>
> Out of my depth here - no idea if this is a bug or me...
>
> julia> foo{I<:Integer,U<:UnitRange{I}}(u::U) = 1
> ERROR: TypeError: UnitRange: in T, expected T<:Real, got UniformScaling{
> Int64}
>
> Version 0.4.1-pre+22 (2015-11-01 00:06 UTC)
>
> Thanks, Andrew
>

Reply via email to