constants are back. I had broke them when switching how data casting works

This commit is contained in:
microproofs
2023-07-28 18:37:16 -04:00
committed by Kasey
parent 0b8266dfd1
commit 5aecb96668
3 changed files with 79 additions and 11 deletions

View File

@@ -1391,7 +1391,9 @@ fn acceptance_test_14_list_creation() {
)
.apply(
Term::mk_cons()
.apply(Term::i_data().apply(Term::integer(0.into())))
.apply(Term::Constant(
Constant::Data(Data::integer(0.into())).into(),
))
.apply(Term::empty_list()),
),
),