Typehints for variadic methods in deftype fail to compile

Description

When a method defined by a protocol has multiple typehinted signatures, it is impossible to implement them using deftype because deftype throws away the typehints. The compiler then looks for the proper signatures (i.e. with typehints) and throws an exception when it can't find them.

Environment

None

Activity

Show:
Chris Gray
March 22, 2012, 11:41 PM
Andy Fingerhut
August 19, 2012, 10:31 AM

Patch clj-957-allow-typehinting-of-method-signatures-in-deftype-patch2.txt dated Aug 19 2012 is identical to Chris Gray's patch 0001-Allow-for-typehinting-of-method-signatures-in-deftyp.patch dated Mar 22, 2012, except it has some updated context lines so that it applies cleanly to latest master.

Assignee

Unassigned

Reporter

Chris Gray

Labels

Approval

None

Patch

Code and Test

Affects versions

Priority

Minor