3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-08-02 09:20:22 +00:00

replace assert by SASSERT in case of unsupported proof rule

Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
Nikolaj Bjorner 2015-12-29 15:30:42 -08:00
parent 2f08040403
commit e63724a22d
2 changed files with 2 additions and 3 deletions

View file

@ -2023,8 +2023,8 @@ public:
break;
}
default:
pfgoto(proof);
assert(0 && "translate_main: unsupported proof rule");
pfgoto(proof);
SASSERT(0 && "translate_main: unsupported proof rule");
throw unsupported();
}
}