Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Revert "Add a generic code-inferrability test" #38461

Merged
merged 1 commit into from
Nov 16, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 0 additions & 15 deletions base/reflection.jl
Original file line number Diff line number Diff line change
Expand Up @@ -753,13 +753,6 @@ function signature_type(@nospecialize(f), @nospecialize(args))
end
end

function call_type(@nospecialize(tt))
ft = tt.parameters[1]
argt = Tuple{tt.parameters[2:end]...}
name = Symbol(String(ft.name.name)[2:end]) # strip off leading '#'
return (getfield(ft.name.module, name), argt)
end

"""
code_lowered(f, types; generated=true, debuginfo=:default)

Expand Down Expand Up @@ -936,14 +929,6 @@ function visit(f, d::Core.TypeMapEntry)
end
nothing
end
function visit(f, d::SimpleVector)
for i = 1:length(d)
if isassigned(d, i)
f(d[i])
end
end
nothing
end

function length(mt::Core.MethodTable)
n = 0
Expand Down
2 changes: 1 addition & 1 deletion test/choosetests.jl
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ function choosetests(choices = [])
"boundscheck", "error", "ambiguous", "cartesian", "osutils",
"channels", "iostream", "secretbuffer", "specificity",
"reinterpretarray", "syntax", "corelogging", "missing", "asyncmap",
"smallarrayshrink", "inference_qa"
"smallarrayshrink"
]

tests = []
Expand Down
222 changes: 0 additions & 222 deletions test/inference_qa.jl

This file was deleted.

8 changes: 0 additions & 8 deletions test/runtests.jl
Original file line number Diff line number Diff line change
Expand Up @@ -77,14 +77,6 @@ linalg_tests = tests[linalg_test_ids]
deleteat!(tests, linalg_test_ids)
prepend!(tests, linalg_tests)

# do inference_qa at the beginning (in a fresh session) to avoid trouble from specializations
# introduced by running other tests
idx = findfirst(isequal("inference_qa"), tests)
if idx !== nothing
deleteat!(tests, idx)
pushfirst!(tests, "inference_qa")
end

import LinearAlgebra
cd(@__DIR__) do
n = 1
Expand Down
Loading