Skip to content

Commit

Permalink
attain the original code, JuliaLang#39611 is fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
aviatesk committed Feb 16, 2021
1 parent cbeb2ff commit 4d472c7
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions base/compiler/ssair/inlining.jl
Original file line number Diff line number Diff line change
Expand Up @@ -1076,12 +1076,9 @@ function analyze_single_call!(ir::IRCode, todo::Vector{Pair{Int, Any}}, idx::Int
for i in 1:length(infos)
info = infos[i]
meth = info.results
if meth === missing
if meth === missing || meth.ambig
# Too many applicable methods
too_many = true
break
elseif meth.ambig
# there is a (partial?) ambiguity
# Or there is a (partial?) ambiguity
too_many = true
break
elseif length(meth) == 0
Expand Down

0 comments on commit 4d472c7

Please sign in to comment.