IntersectMBO/plutus

`dischargeCekValue` doesn't handle open terms correctly

Open

#7,526 建立於 2026年1月15日

在 GitHub 查看
 (5 留言) (1 反應) (1 負責人)Haskell (1,637 star) (511 fork)batch import
Good first issuebugstatus: triaged

描述

dischargeCekValue has the following code:

                  -- var is free, leave it alone
                  (Var () named)

which means that

(\0 \0 var 2) (delay (var 1))

evaluates to

[1 :-> delay (var 1)] (\0 var 2)

which then discharges to

\0 delay (var 1)

which is variable capture.

貢獻者指南