Skip to content
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

== not transitive for TypeVars #8920

Closed
jiahao opened this issue Nov 6, 2014 · 2 comments
Closed

== not transitive for TypeVars #8920

jiahao opened this issue Nov 6, 2014 · 2 comments

Comments

@jiahao
Copy link
Member

jiahao commented Nov 6, 2014

Admittedly I don't really grok how TypeVars can be used at the user level, but I find this rather unintuitive:

julia> A = TypeVar(:x, Integer, Real); B = TypeVar(:x, FloatingPoint, Real); C = Real;

julia> A==B #false?
false

julia> B==C #false?
true

julia> C==A #false?
true
@JeffBezanson
Copy link
Member

Covered by #8974. Also TypeVars should not be created manually, and in the future that will probably be even more important.

@JeffBezanson
Copy link
Member

fixed by 3074b70

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants