We're updating the issue view to help you get more done. 

primitive type hints on protocol methods break call sites

Description

1 2 3 4 5 6 7 user=> (defprotocol P (f [this ^long x])) P user=> (deftype T [] P (f [_ x] x)) #<java.lang.Class class user.T> user=> (f (T.) 5) ClassCastException user$eval7289$fn__7290$G__7280__7297 cannot be cast to clojure.lang.IFn$OLO user/eval7313 (NO_SOURCE_FILE:1)

Environment

None

Status

Assignee

Unassigned

Reporter

Brandon Bloom

Labels

None

Approval

None

Patch

None

Affects versions

Release 1.6

Priority

Minor