Skip to content

Commit 0ae63d2

Browse files
committed
More Core.Compiler adjustments
1 parent 6b853e2 commit 0ae63d2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/analysis/lattice.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -347,7 +347,7 @@ CC.widenconst(::PartialScope) = Scope
347347
CC.widenconst(pkv::PartialKeyValue) = widenconst(pkv.typ)
348348
CC.:(inc::Incidence, inc2) = CC.:(inc2, Float64) && !isa(inc2, Const)
349349

350-
function CC._uniontypes(x::Incidence, ts)
350+
function CC._uniontypes(x::Incidence, ts::Vector{Any})
351351
u = x.typ
352352
if isa(u, Union)
353353
CC.push!(ts, is_non_incidence_type(u.a) ? u.a : Incidence(u.a, x.row, x.eps))

0 commit comments

Comments
 (0)