Skip to content

Commit

Permalink
More Core.Compiler adjustments
Browse files Browse the repository at this point in the history
  • Loading branch information
Keno committed Sep 28, 2024
1 parent 6b853e2 commit 0ae63d2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/analysis/lattice.jl
Original file line number Diff line number Diff line change
Expand Up @@ -347,7 +347,7 @@ CC.widenconst(::PartialScope) = Scope
CC.widenconst(pkv::PartialKeyValue) = widenconst(pkv.typ)
CC.:(inc::Incidence, inc2) = CC.:(inc2, Float64) && !isa(inc2, Const)

function CC._uniontypes(x::Incidence, ts)
function CC._uniontypes(x::Incidence, ts::Vector{Any})
u = x.typ
if isa(u, Union)
CC.push!(ts, is_non_incidence_type(u.a) ? u.a : Incidence(u.a, x.row, x.eps))
Expand Down

0 comments on commit 0ae63d2

Please sign in to comment.