mirror of
https://github.com/Z3Prover/z3
synced 2025-04-08 18:31:49 +00:00
Insert sort declaration for nullary sorts declared using declare-datatype
This commit is contained in:
parent
a2f907c7d1
commit
b0997661cc
|
@ -970,6 +970,9 @@ namespace smt2 {
|
|||
check_rparen_next("invalid datatype declaration, ')' expected");
|
||||
}
|
||||
else {
|
||||
if (dt_name) {
|
||||
m_ctx.insert(pm().mk_psort_dt_decl(0, *dt_name));
|
||||
}
|
||||
parse_constructor_decls(ct_decls);
|
||||
}
|
||||
check_rparen_next("invalid datatype declaration, ')' expected");
|
||||
|
|
Loading…
Reference in a new issue