We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ddb1e1e commit ad2a222Copy full SHA for ad2a222
test/subtype.jl
@@ -911,3 +911,6 @@ ftwoparams(::TwoParams{<:Real,<:Real}) = 3
911
@test TwoParams{Real,Complex}(3,0im) isa TwoParams{>:Int,<:Number}
912
@test !(TwoParams(3.0,0im) isa TwoParams{>:Int,<:Number})
913
@test !(TwoParams(3,'x') isa TwoParams{>:Int,<:Number})
914
+
915
+# Issue #20523
916
+@test_throws ErrorException immutable A20523 <: Base.AbstractSet; end
0 commit comments