File tree Expand file tree Collapse file tree 1 file changed +2
-9
lines changed
src/main/scala/inox/solvers/unrolling Expand file tree Collapse file tree 1 file changed +2
-9
lines changed Original file line number Diff line number Diff line change @@ -164,15 +164,8 @@ trait AbstractUnrollingSolver extends Solver { self =>
164
164
165
165
def assertCnstr (expression : Expr ): Unit = context.timers.solvers.assert.run(try {
166
166
context.timers.solvers.assert.sanity.run {
167
- try {
168
- symbols.ensureWellFormed // make sure that the current program is well-formed
169
- typeCheck(expression, BooleanType ()) // make sure we've asserted a boolean-typed expression
170
- } catch {
171
- case _ : Throwable =>
172
- context.reporter.internalError(
173
- " Error while ensuring well-formedness of symbols and expression in `assertCnstr` in `UnrollingSolver`"
174
- )
175
- }
167
+ symbols.ensureWellFormed // make sure that the current program is well-formed
168
+ typeCheck(expression, BooleanType ()) // make sure we've asserted a boolean-typed expression
176
169
}
177
170
178
171
// Multiple calls to registerForInterrupts are (almost) idempotent and acceptable
You can’t perform that action at this time.
0 commit comments