Open cbun opened 10 years ago
what is an env class ? Is it related to an environment variable ?
No, it's the environment for an s-expression in the Wasp engine:
(begin
(begin (setparam k 59) (kiki READS))
(kiki READS)
)
Both kiki runs should have different environments
Well, to be more precise, they share the outer environment, but setparam remains in it's own inner env
So it is the lexical scope (or to be more precise, all the variables reachable from the lexical scope of a variable).
Correct.
Probably an issue with recursive env classes.