Details
-
Type:
Enhancement
-
Status:
Closed
-
Priority:
Minor
-
Resolution: Declined
-
Affects Version/s: Release 1.4
-
Fix Version/s: Release 1.5
-
Component/s: None
-
Labels:
-
Patch:Code
-
Approval:Not Approved
Description
The compiler accepts this:
(deftype foo []
clojure.lang.IFn
(invoke [this & xs]))
However calling ((foo.) :bar) will throw an AbstractMethodError. Wouldn't some checking be desirable?
@Marek, Stu: Thanks, I've left a reply there: https://groups.google.com/d/msg/clojure-dev/qjkW-cv8nog/rMNFqbjNj-EJ