Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- (ns clj-test.core)
- (defrecord TestRecord [foo]
- ;Runnable
- ;(run [me] nil)
- )
- (if (clojure.lang.Namespace/areDifferentInstancesOfSameClassName (class (new TestRecord nil)) (class (new clj_test.core.TestRecord nil)))
- (println "Different!")
- (println "Same!"))
- ; Run lein compile with :aot :all in project.clj and result is "Different"
Advertisement
Add Comment
Please, Sign In to add comment