Open ranfdev opened 1 month ago
This isn't supported in cherry / squint. Macros should always be loaded using :require-macros
. This is done because files in cherry and squint can be recompiled without scanning other files in your project. It's unlikely to change any time soon I think.
version v0.7.110
problem following the usual clojurescript behavior, this macro should be executed during compilation:
but
test_runner.js
gets compiled toI need to provide both functions and macros in the same namespace, so that they can be used with the syntax
myns/mymacro
. For example, thesolid
namespace I'm writing should provide bothsolid/for
(a macro) andsolid/render
(a normal function).