Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- (ns core-typed-bug.core
- (:require [ clojure.core.typed :as t ]))
- (t/defprotocol P
- (f
- [a] :- Any
- [a b :- Any] :- Any))
- (t/ann-record R [])
- (defrecord R []
- P
- (f [a] 1)
- (f [a b] 2))
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement