~technomancy/fennel#62: 
Broken globals checking in import-macros

As discussed in #59, globals checking has been disabled in import-macros:

$ echo '(fn foo [] `(print "nothing to see" ,i-dont-exist "here")) {: foo}' > m.fnl
$ echo '(require-macros :m) (foo)' > f.fnl
$ fennel f.fnl
nothing to see  nil     here
Status
RESOLVED FIXED
Submitter
~technomancy
Assigned to
No-one
Submitted
a month ago
Updated
a month ago
Labels
bug macros

~technomancy a month ago

I have a patch for this here but I think it needs some more work; at least explaining what's going on and testing:

https://p.hagelb.org/sandbox-improvement.html

~technomancy REPORTED FIXED a month ago

OK, I reviewed this more thoroughly and I think the fix in e3de64d is good.

Register here or Log in to comment, or comment via email.