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 3e14e22 commit aa8ec10Copy full SHA for aa8ec10
test/codegen.jl
@@ -1031,7 +1031,7 @@ end
1031
# Make sure that code that has unbound sparams works
1032
#https://github.com/JuliaLang/julia/issues/56739
1033
1034
-f56739(a) where {T} = a
+@test_warn r"declares type variable T but does not use it" @eval f56739(a) where {T} = a
1035
1036
@test f56739(1) == 1
1037
g56739(x) = @noinline f56739(x)
0 commit comments