fix: builtins using the incorrect data to type conversion when used as a function param.
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user