bytecmp: improve closure generation for macros
Only close around functions and variables when actually needed. Reverse changes to compiler environment, since we need the bytecode and native compiler environemnts to be similar (si::eval-with-env is called in the native compiler with its own compiler environment, so having symbol macros both c_env->variables and c_env->macros could be problematic).
Please register or sign in to comment