fix: builtins using the incorrect data to type conversion when used as a function param.

This commit is contained in:
microproofs
2023-06-23 14:30:29 -04:00
committed by Kasey
parent db369da96e
commit 226556bdd6
3 changed files with 15 additions and 2 deletions

View File

@@ -1,3 +1,5 @@
use aiken/builtin.{snd_pair}
use aiken/cbor
use aiken/list
test tuple_when() {
@@ -20,3 +22,8 @@ test tuple_when() {
)
list.length(filtered) > 0
}
test t() {
trace cbor.diagnostic(list.map([(#"", 20)], snd_pair))
True
}