I've only come to suspect this recently, but I believe that type parameters have always been a special case such that if T is a type parameter of a method, then x::T in the argument list requires that T===typeof(x), not just isa(x, T) as otherwise. I guess that this is deliberate, though I find it inconsistent and somewhat dissatisfying.
- [julia-users] Trouble with Type Parameters Leah Hanson
- Re: [julia-users] Trouble with Type Parameters Jameson Nash
- Re: [julia-users] Trouble with Type Parameters Toivo Henningsson
- Re: [julia-users] Trouble with Type Paramet... Tomas Lycken
- Re: [julia-users] Trouble with Type Par... Toivo Henningsson
- Re: [julia-users] Trouble with Typ... Tomas Lycken
- Re: [julia-users] Trouble with... Mauro
- Re: [julia-users] Trouble ... Tomas Lycken
- Re: [julia-users] Trouble ... Mauro
- Re: [julia-users] Trouble with... Toivo Henningsson
- Re: [julia-users] Trouble ... Kevin Squire
- Re: [julia-users] Trouble ... Tomas Lycken
- Re: [julia-users] Trouble ... Mauro