fix: There was a stack overflow due to passing unbound types to a function

This commit is contained in:
microproofs
2023-09-25 13:05:27 -04:00
committed by Kasey
parent 1cab479b81
commit 534eb62a07
2 changed files with 1 additions and 3 deletions

View File

@@ -18,8 +18,5 @@ fn sum_list(list: List<Schema>) -> Int {
}
test foo() {
// False
// Can't enable the "real" test because it puts the UPLC evaluator in an infinite loop.
// -
sum(List([List([Integer(1), Integer(2)]), Integer(3), Integer(4)])) == 10
}