We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 11724fb commit 2798d2cCopy full SHA for 2798d2c
test/reflection.jl
@@ -612,3 +612,11 @@ end
612
@generated f18883() = nothing
613
@test !isempty(sprint(io->code_llvm(io, f18883, Tuple{})))
614
@test !isempty(sprint(io->code_native(io, f18883, Tuple{})))
615
+
616
+# Issue #20086
617
+abstract A20086{T,N}
618
+immutable B20086{T,N} <: A20086{T,N} end
619
+@test subtypes(A20086) == [B20086]
620
+@test subtypes(A20086{Int}) == [B20086{Int}]
621
+@test subtypes(A20086{T,3} where T) == [B20086{T,3} where T]
622
+@test subtypes(A20086{Int,3}) == [B20086{Int,3}]
0 commit comments