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

Invalid variadic IFn implementations now fail

Description

1 2 3 4 (deftype Partial [f args] IFn (-invoke [_ & a] (apply (partial f args) a)))

This code is invalid but worked prior to 1.9.655. We don't currently warn on variadic implementations and this triggers the compiler to generate a variadic method.

The user will see a cryptic error about `self__` not being defined when attempting to leverage this invalid pattern.

Environment

None

Status

Assignee

Unassigned

Reporter

Dieter Komendera

Labels

None

Approval

Accepted

Patch

None

Fix versions

Affects versions

1.9.655

Priority

Major