Fork me on GitHub

Support for self-hosted ClojureScript has landed in the test.check repo ( Ultimately, when the JAR is available, we could consider perhaps writing a small generative test for some core function and add it to the ClojureScript test suite.


working on a macro which emits compiler warnings by hooking into ana/*cljs-warnings*, not sure if I’m doing it correctly, but it seems to work in my code - my problem is in cljs.test, where I’m getting double macro expansion calls so my warnings appear twice, is this a bug in cljs.test that form like (is (= (my-macro args) :val)) generates code which expands my-macro twice?


have to go now, in the meantime any pointers how to implement compile-time warnings/errors in my own macros would be appreciated, thanks


I felt like the “easy way" of printing directly to err or out would fail when people used custom warnings handlers or automating the compiler via the API

Yehonathan Sharvit13:09:27

Thanks @mfikes for making test.check self-host compatible

Yehonathan Sharvit13:09:36

The web page takes a while to load… Because the whole test.check code is loaded from github