Adding the following annotation results in a runtime exception:
Exception:
Mac OS X 10.10.3
$ java -version
java version "1.8.0_45"
Java(TM) SE Runtime Environment (build 1.8.0_45-b14)
Java HotSpot(TM) 64-Bit Server VM (build 25.45-b02, mixed mode)
$ lein --version
Leiningen 2.5.1 on Java 1.8.0_45 Java HotSpot(TM) 64-Bit Server VM
The above exception call stack is for version: 0.3.3.
Version 0.3.0-alpha5 produces a different exception call stack:
Unsure how to proceed.
Proceeding with a fix would obviously be my first choice.
Agreed.
I had a vague idea yesterday to be able to override any annotation on a per-namespace granularity. Adding these kinds of annotations for namespaces you don't own seems a bit off at least.
This error message at least should be improved. I think it's overriding the default polymorphic annotation, which might break some internal invariants.