Skip to content

Instantly share code, notes, and snippets.

@mpenet
Created March 17, 2013 12:57
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mpenet/854ebc2a644fd68f77a7 to your computer and use it in GitHub Desktop.
Save mpenet/854ebc2a644fd68f77a7 to your computer and use it in GitHub Desktop.
(t/ann foo (APersistentMap clojure.lang.Named clojure.lang.Named))
(def foo {:a :b})
(t/cf (get foo :a))
java.lang.Exception: Can't get key (Value :a) from type (clojure.lang.APersistentMap clojure.lang.Named clojure.lang.Named)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment