Skip to content

Commit b200a62

Browse files
Update base/compiler/abstractinterpretation.jl
1 parent 698ed6b commit b200a62

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

base/compiler/abstractinterpretation.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -868,7 +868,7 @@ function abstract_iteration(interp::AbstractInterpreter, @nospecialize(itft), @n
868868
valtype = Bottom
869869
may_have_terminated = Nothing <: stateordonet
870870
while valtype !== Any
871-
nounion = typeintersect(typesubtract(stateordonet, Nothing, 0), Tuple{Any,Any})
871+
nounion = typeintersect(stateordonet, Tuple{Any,Any})
872872
if nounion === Union{}
873873
# handle iterator failing or giving an invalid answer below
874874
nounion = Tuple{Union{}, Union{}}

0 commit comments

Comments
 (0)