kadena-io / pact

The Pact Smart Contract Language
https://docs.kadena.io/build/pact
BSD 3-Clause "New" or "Revised" License
581 stars 100 forks source link

Fix unexpected free variable in FV #1251

Closed rsoeldner closed 1 year ago

rsoeldner commented 1 year ago

Addresses #1250

This PR makes use of a stack of free variables to allow for nested application of higher-order functions such as fold or map.

PR checklist:

Additionally, please justify why you should or should not do the following:

jwiegley commented 1 year ago

@rsoeldner Where is the test to show what behavior this is actually impacting?

rsoeldner commented 1 year ago

@jwiegley ... missed pushing them