IntersectMBO/plutus

`dischargeCekValue` doesn't handle open terms correctly

Open

#7,526 创建于 2026年1月15日

在 GitHub 查看
 (5 评论) (1 反应) (1 负责人)Haskell (511 fork)batch import
Good first issuebugstatus: triaged

仓库指标

Star
 (1,637 star)
PR 合并指标
 (平均合并 15天 11小时) (30 天内合并 13 个 PR)

描述

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.

贡献者指南