Skip to content

Commit

Permalink
Consider all non-obvious choose's to be impure
Browse files Browse the repository at this point in the history
  • Loading branch information
jad-hamza committed May 21, 2019
1 parent 397ae7b commit 08fb4ef
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/scala/inox/transformers/SimplifierWithPC.scala
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ trait SimplifierWithPC extends Transformer { self =>
case e if path implies not(e) => (BooleanLiteral(false).copiedFrom(e), true)

case c @ Choose(res, BooleanLiteral(true)) if hasInstance(res.tpe) == Some(true) => (c, true)
case c: Choose => (c, opts.assumeChecked)
case c: Choose => (c, false)

case Lambda(params, body) =>
val (rb, _) = simplify(body, path withBounds params)
Expand Down

0 comments on commit 08fb4ef

Please sign in to comment.