Skip to content

Commit

Permalink
Preserve abstract values in annotateTerm
Browse files Browse the repository at this point in the history
  • Loading branch information
langston-barrett committed Feb 12, 2025
1 parent eef72a0 commit 85d2571
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion what4/src/What4/Expr/Builder.hs
Original file line number Diff line number Diff line change
Expand Up @@ -2052,7 +2052,8 @@ instance IsExprBuilder (ExprBuilder t st fs) where
let tpr = exprType e
n <- sbFreshIndex sym
e' <- sbNonceExpr sym (Annotation tpr n e)
return (n, e')
let e'' = unsafeSetAbstractValue (exprAbsValue e') e'
return (n, e'')

getAnnotation _sym e =
case e of
Expand Down

0 comments on commit 85d2571

Please sign in to comment.