advent-of-cljc
advent-of-cljc copied to clipboard
Can't define protocols in test namespaces
If you run
script/test-one 2017 1 borkdude
everything will be fine. But then add the following
(defprotocol IFoo)
as the first form in the aoc.y2017.d01.borkdude
namespace (after the ns
form).
This will result in
WARNING - incomplete alias created for namespace aoc.y2017.d01.borkdude
where otherwise everything else works.
In the end, this is likely going to be an issue in the ClojureScript compiler itself (presuming we can come up with a minimal repro), but logging it here as it may be occuring due to some arrangement in the Advent of CLJC project.