Skip to content

Commit ea36893

Browse files
Revert "Add a generic code-inferrability test"
1 parent bcad840 commit ea36893

File tree

5 files changed

+1
-506
lines changed

5 files changed

+1
-506
lines changed

base/reflection.jl

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -753,13 +753,6 @@ function signature_type(@nospecialize(f), @nospecialize(args))
753753
end
754754
end
755755

756-
function call_type(@nospecialize(tt))
757-
ft = tt.parameters[1]
758-
argt = Tuple{tt.parameters[2:end]...}
759-
name = Symbol(String(ft.name.name)[2:end]) # strip off leading '#'
760-
return (getfield(ft.name.module, name), argt)
761-
end
762-
763756
"""
764757
code_lowered(f, types; generated=true, debuginfo=:default)
765758
@@ -936,14 +929,6 @@ function visit(f, d::Core.TypeMapEntry)
936929
end
937930
nothing
938931
end
939-
function visit(f, d::SimpleVector)
940-
for i = 1:length(d)
941-
if isassigned(d, i)
942-
f(d[i])
943-
end
944-
end
945-
nothing
946-
end
947932

948933
function length(mt::Core.MethodTable)
949934
n = 0

test/choosetests.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ function choosetests(choices = [])
5555
"boundscheck", "error", "ambiguous", "cartesian", "osutils",
5656
"channels", "iostream", "secretbuffer", "specificity",
5757
"reinterpretarray", "syntax", "corelogging", "missing", "asyncmap",
58-
"smallarrayshrink", "inference_qa"
58+
"smallarrayshrink"
5959
]
6060

6161
tests = []

test/inference_qa.jl

Lines changed: 0 additions & 222 deletions
This file was deleted.

test/runtests.jl

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -77,14 +77,6 @@ linalg_tests = tests[linalg_test_ids]
7777
deleteat!(tests, linalg_test_ids)
7878
prepend!(tests, linalg_tests)
7979

80-
# do inference_qa at the beginning (in a fresh session) to avoid trouble from specializations
81-
# introduced by running other tests
82-
idx = findfirst(isequal("inference_qa"), tests)
83-
if idx !== nothing
84-
deleteat!(tests, idx)
85-
pushfirst!(tests, "inference_qa")
86-
end
87-
8880
import LinearAlgebra
8981
cd(@__DIR__) do
9082
n = 1

0 commit comments

Comments
 (0)