-
-
Notifications
You must be signed in to change notification settings - Fork 5.6k
Add tests for #20103 #21358
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
Add tests for #20103 #21358
Conversation
Travis 64bit linux timed out (10 minutes without output), so probably a test hanging, but |
test/subtype.jl
Outdated
@@ -1070,3 +1070,12 @@ end | |||
@testintersect(Tuple{A20992{R, D, d} where d where D, Int} where R, | |||
Tuple{C20992{S, n, T, D, d} where d where D where T where n where S, Any}, | |||
Tuple{C20992, Int}) | |||
|
|||
# issue #20103, OP and comments | |||
immutable TT20103{X,Y} end |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
struct ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yes
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
still says immutable
test/subtype.jl
Outdated
immutable TT20103{X,Y} end | ||
f20103{X,Y}(::Type{TT20103{X,Y}},x::X,y::Y) = 1 | ||
f20103{X}(::Type{TT20103{X,X}},x::X) = 100 | ||
@testintersect(Tuple{Int, Ref{Pair{K,V}}} where V where K, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This test already appears on line 834.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ah, thanks for pointing that out
e7a09a4
to
6638d93
Compare
Comments addressed. |
AppVeyor failure unrelated ( |
6638d93
to
c691234
Compare
Ok, this time I think I actually have addressed the comments. |
Although not everything is perfect with all the comments in #20103, most of them (and the OP) have been fixed eventually, so I'd say this closes #20103.