-
-
Notifications
You must be signed in to change notification settings - Fork 5.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
typealiases with parameter no longer works as expected #9378
Comments
I can confirm that the behaviour difference between 0.3 and 0.4. I'm confused with such complicated types, so others will have to judge if this is a regression or a bugfix. |
Seems like a bug to me. If |
If CFoo <: FooB{Float64} implies the more general CFoo <: FooB does that not then imply then imply that CFoo <: FooB{Int64} or other more specific types, and is that the correct behaviour? |
@elextr, no it does not imply that, because |
D'oh, yeah |
To motivate it getting fixed: ApproxFun.jl won't work in 0.4 until it is |
The following returns true in 0.3 but false in 0.4
abstract Foo{T,S}
immutable B{T} end
typealias FooB{T} Foo{T,B}
immutable CFoo <: FooB{Float64}end
isa(CFoo(),FooB)
The text was updated successfully, but these errors were encountered: