Skip to content

Commit

Permalink
fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
jrevels committed Sep 19, 2018
1 parent e8e646e commit 7c36651
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion base/compiler/inferenceresult.jl
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ function compute_inf_result_argtypes(linfo::MethodInstance, caller_argtypes = no
nargs::Int = toplevel ? 0 : linfo.def.nargs
if !toplevel && caller_argtypes !== nothing
for i in 1:length(caller_argtypes)
a = maybe_widen_conditional(given_argtypes[i])
a = maybe_widen_conditional(caller_argtypes[i])
if i > length(given_argtypes)
push!(given_argtypes, a)
elseif a isa Const
Expand Down

0 comments on commit 7c36651

Please sign in to comment.