Skip to content

Commit

Permalink
attain the original code, #39611 is fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
aviatesk committed Feb 13, 2021
1 parent 57d5dad commit 9ff11fd
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 9ff11fd

Please sign in to comment.