Aot compiling metaconstants - eunmin/Midje GitHub Wiki

In most cases, ahead-of-time (AOT) compiling Midje facts should work, even for facts that contain metaconstants. However, there are a few edge cases where the Clojure compiler makes assumptions that don't work for metaconstants. If your tests that use metaconstants don't pass when AOT-compiled, predeclare the metaconstants before use:

    (metaconstants ..m.. .mc.)