Closed goretkin closed 7 years ago
On julia 0.5.2
const Subs = Union{Real,Colon,Range} contrank(i1::Colon, i2::Colon, i3::Union{Colon,UnitRange}) = "3d" contrank(i1::Colon, i2::Colon, i3::Colon, I::Subs...) = "nd" contrank(:, :, :)
produces "nd"
on julia 0.6.0 there's a method ambiguity error (which seems more correct than chosing the nd method, but also the first method I think is strictly more specific.)
nd
On julia 0.5.2
produces "nd"
on julia 0.6.0 there's a method ambiguity error (which seems more correct than chosing the
nd
method, but also the first method I think is strictly more specific.)