Patch: Closure Fix & Expression Returns
Pre-release
Pre-release
-
Fixed broken import in
__main__.py(skizze_cli→skizze.skizze_cli) -
Fixed closure bug where
SkizzeFnNodewas mutated at runtime to storeclosure_env, causing incorrect behavior when functions are defined multiple times or in nested scopes. Functions are now wrapped in aSkizzeFnValueruntime object that is separate from the AST node. -
if/elseandwhilenow return their evaluated value instead of discarding it