Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: clear fennels
macros-loaded
table when runing make compile
Macro modules are retained by fennel in a macros-loaded table. If we compile using a macro, then edit the macro, then recompile, we would end up using the older in-memory macro and generate incorrect code. By clearing the macros-loaded table before calling compile, we can enforce that the latest macro code is loaded. Currently this fix only applies to make, but could be extended to diagnostics. See #117.
- Loading branch information