When simplifying a Plugins.Lam, make sure the lambda binder variable is added to SimplEnv.
This fixes the refineFromInScope panic in the tests, but it probably isn't correct for larger examples where there are nested Plugins.Lams, since all the lambda binders would need to be added to SimplEnv.
When simplifying a
Plugins.Lam
, make sure the lambda binder variable is added toSimplEnv
.This fixes the
refineFromInScope
panic in the tests, but it probably isn't correct for larger examples where there are nestedPlugins.Lam
s, since all the lambda binders would need to be added toSimplEnv
.