Skip to content

Commit

Permalink
fix semi-concrete compat (#328)
Browse files Browse the repository at this point in the history
  • Loading branch information
aviatesk authored Oct 11, 2022
1 parent 78d7ea9 commit 183481f
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/Cthulhu.jl
Original file line number Diff line number Diff line change
Expand Up @@ -282,10 +282,12 @@ end
@static if VERSION v"1.9.0-DEV.409"
get_effects(result::CC.ConstPropResult) = get_effects(result.result)
get_effects(result::CC.ConcreteResult) = result.effects
get_effects(result::CC.SemiConcreteResult) = result.effects
else
get_effects(result::CC.ConstResult) = result.effects
end
@static if VERSION v"1.9.0-DEV.1248"
get_effects(result::CC.SemiConcreteResult) = result.effects
end
else
get_effects(_...) = nothing
end
Expand Down

0 comments on commit 183481f

Please sign in to comment.