Instantly share code, notes, and snippets.

Embed
What would you like to do?
[java] FAIL in (test-annotations) (test_clojure.clj:92)
[java] Parameter annotations: void foo(@Retention(?) String)
[java] expected: (instance? Retention retention)
[java] actual: $Proxy2
[java]
[java] FAIL in (test-annotations) (test_clojure.clj:92)
[java] Parameter annotations: void foo(@Target(?) String)
[java] expected: (instance? Target target)
[java] actual: $Proxy1
[java]
[java] ERROR in (test-annotations) (test_clojure.clj:92)
[java] Parameter annotations: void foo(@Target(?) String)
[java] expected: (= [ElementType/TYPE ElementType/PARAMETER] (seq (.value target)))
[java] actual: java.lang.IllegalArgumentException: Don't know how to create ISeq from: java.lang.annotation.RetentionPolicy
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment