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