I think this have to be fixed in Compat, so that's probably the right place 
to open an issue (or preferably a PR).

You also don't need @compat, because (currently) Compat just generically 
defines 
the new functions 
<https://github.com/JuliaLang/Compat.jl/blob/73c4a03c82928bed5656103ccfede9a5c878656d/src/Compat.jl#L40-48>
 
on Julia 0.3.

Ivar

kl. 19:52:34 UTC+1 fredag 26. desember 2014 skrev Tomas Lycken følgende:
>
> I don't know if this is a problem with core Julia, with Compat.jl or with 
> my own code, but I can't figure out how to get this working.
>
> On Julia 0.3, I can do iround(1//2) without problems (yielding 1), but I 
> can't figure out how to do this with the 0.4 method names and Compat: 
>
> julia> using Compat
>
> julia> @compat round(Int, 1//2)
> ERROR: `iround` has no method matching iround(::Type{Int64}, 
> ::Rational{Int64})
>  in round at /home/tlycken/.julia/v0.3/Compat/src/Compat.jl:45
>
> Am I doing something wrong here, or should I file an issue? If I should, 
> is the problem with Compat.jl or with core Julia?
>
> Thanks,
>
> // T
>

Reply via email to