Skip to content

Commit

Permalink
fix a few tests
Browse files Browse the repository at this point in the history
  • Loading branch information
jcp19 committed Jul 2, 2024
1 parent fc2f804 commit 0b7faf0
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -45,8 +45,8 @@ trait GhostExprTyping extends BaseTyping { this: TypeInfoImpl =>
assignableTo.errors(exprType(cond), BooleanT)(expr) ++
// check that `thn` and `els` have a common type
mergeableTypes.errors(exprType(thn), exprType(els))(expr) ++
// check that all subexpressions are pure
isPureExpr(cond) ++ isPureExpr(thn) ++ isPureExpr(els)
// check that all subexpressions are pure.
isPureExpr(cond) ++ isWeaklyPureExpr(thn) ++ isWeaklyPureExpr(els)

case n@PForall(vars, triggers, body) =>
// check whether all triggers are valid and consistent
Expand Down

0 comments on commit 0b7faf0

Please sign in to comment.