mirror of
https://github.com/Z3Prover/z3
synced 2025-04-24 01:25:31 +00:00
parent
387964f508
commit
d7d6877031
1 changed files with 2 additions and 1 deletions
|
@ -1140,7 +1140,8 @@ namespace datatype {
|
|||
TRACE("util_bug", tout << "invoke get-non-rec: " << sort_ref(ty, m) << "\n";);
|
||||
cd = get_non_rec_constructor_core(ty, forbidden_set);
|
||||
SASSERT(forbidden_set.back() == ty);
|
||||
SASSERT(cd.first);
|
||||
if (!cd.first) // datatypes are not completed on parse errors
|
||||
throw default_exception("constructor not available");
|
||||
return cd.first;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue