Skip to content

Commit

Permalink
partially address #29293
Browse files Browse the repository at this point in the history
  • Loading branch information
vtjnash committed Oct 24, 2018
1 parent aaa9bd9 commit 92ab600
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion base/compiler/abstractinterpretation.jl
Expand Up @@ -312,7 +312,7 @@ function abstract_call_method(method::Method, @nospecialize(sig), sparams::Simpl
end
infstate = sv
topmost = topmost::InferenceState
while !(infstate.parent === topmost.parent)
while !(infstate === topmost.parent)
if call_result_unused(infstate)
# If we won't propagate the result any further (since it's typically unused),
# it's OK that we keep and cache the "limited" result in the parents
Expand Down

0 comments on commit 92ab600

Please sign in to comment.