make sure traverse_uplc_with_helper is always passing the arg to lambda before running the with function.

Breaks #945 again
This commit is contained in:
microproofs
2024-05-22 11:58:05 -04:00
parent edf82f773c
commit c16bd06e97
13 changed files with 26 additions and 25 deletions

View File

@@ -18,8 +18,8 @@ description: "Code:\n\npub fn add(a: Int, b: Int) -> Int {\n a + b\n}\n"
}
}
],
"compiledCode": "53010000232232337000060026eb4004dd680081",
"hash": "7a6dd799782f3f4790fa3fd467bb2c7b1cd626393dcbfaaa44e39bb8",
"compiledCode": "500100002322337000046eb4004dd68009",
"hash": "bcd6700b4dba798a7d19c5769ef3deb21423f8809594a6942860dd1f",
"definitions": {
"Int": {
"dataType": "integer"

View File

@@ -18,8 +18,8 @@ description: "Code:\n\npub type Foo<a> {\n Empty\n Bar(a, Foo<a>)\n}\n\npub fn
}
}
],
"compiledCode": "59025e010000323232323232323222323232323232533300b3002300c37540062a666016600460186ea801052000001001132323232323253330103006301137540042646464646464a66602c6018602e6ea801c4c8c8c8c8c8c8cdc019b8000800233010007001002003301d001301d002375a603600260306ea801c02400800cc05c004c05c008dd6980a80098091baa002003008006132323253330103007301137540042a666020600c60226ea80044c8c8c8c8c8c8cdc00011980526103d879800000100200330170013017002375a602a00260246ea800400c00c0200184c8c8c8c8c8c8c8c8cdc000119804800a6103d879800000200330160013016002375a602800260226ea800801c014c004004888c8c8c8c8c94ccc04cc028c050dd50010a9998099805180a1baa0031480000040044c8c8c94ccc054c02cc058dd50010991919191919299980d9808980e1baa00713232323232323370066e00020008ccc05805801c00400800cc088004c088008dd69810000980e9baa007009002003301c001301c002375a6034002602e6ea800800c0100084c8c8c94ccc054c030c058dd50010a99980a9805980b1baa00113232323232323370000466602002098103d8798000001002003301c001301c002375a6034002602e6ea800400c00c0100084c8c8c8c8c8c8c8c8cdc0001199807807800a6103d8798000002003301b001301b002375a6032002602c6ea800800c004c054008c050c054004004cc044008cc0440052f5c06e1d2002370e90001806001180598060008009980400119804000a5eb808c014dd5000918019baa0015734aae7555cf2ba05742ae881",
"hash": "1f577970a1322161b5c15083ab7d5456819f2dd7e04ba750b6cf2f2f",
"compiledCode": "5901d501000032323232323222323232323253330083002300937540062a666010600460126ea801052000001001132323232533300b3004300c375400c2646464a66601c600e601e6ea80284c8cdc019b80003375a60260026600c0046026602800260206ea8028010c044c048008dd6980800098069baa006001132533300b3005300c375400c2a666016600860186ea801c4c8cdc01bad3010001330034c103d879800030103011001300d375400e00200226466e00dd698078009980118079808000a60103d8798000300c375400a600200244464646464a66601e601260206ea800854ccc03cc024c040dd50018a4000002002264a66601e601060206ea80084c8c8c94ccc048c02cc04cdd500309919b80337000066eb4c05c004ccc02c02c008c05cc060004c050dd5003002180a980b0011bad301400130113754004002264a66601e601260206ea800854ccc03cc020c040dd500189919b80375a6028002666010010980103d8798000301430150013011375400600200226466e00dd698098009998038039809980a000a60103d8798000301037540026022004602060220026601c0046601c00297ae0370e90011b8748000c024008c020c024004cc018008cc0180052f5c0ae6955ceaab9e5740ae855d101",
"hash": "dca86b6e092019b67ef310ba8360682d7bf8284cc728c6b525fb0b0d",
"definitions": {
"Int": {
"dataType": "integer"