Skip to content

Conversation

@JeffBezanson
Copy link
Member

fix #31993

@JeffBezanson JeffBezanson added types and dispatch Types, subtyping and method dispatch bugfix This change fixes an existing bug backport 1.2 labels May 10, 2019
let X = LinearAlgebra.Symmetric{T, S} where S<:(AbstractArray{U, 2} where U<:T) where T,
Y = Union{LinearAlgebra.Hermitian{T, S} where S<:(AbstractArray{U, 2} where U<:T) where T,
LinearAlgebra.Symmetric{T, S} where S<:(AbstractArray{U, 2} where U<:T) where T}
@test X <: Y
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm out of my depth here, but just in case: this test passes already, is there a typo?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, it passes on master, but didn't pass with one version of this change I tried (found by an assertion failure during the build).

@Keno Keno merged commit bfcf172 into master May 11, 2019
@martinholters martinholters deleted the jb/fix31993 branch May 11, 2019 17:45
KristofferC pushed a commit that referenced this pull request May 13, 2019
@KristofferC KristofferC mentioned this pull request May 13, 2019
58 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bugfix This change fixes an existing bug types and dispatch Types, subtyping and method dispatch

Projects

None yet

Development

Successfully merging this pull request may close these issues.

ambiguity error with non-applicable methods

4 participants