Details
-
Type:
Enhancement
-
Status:
Open
-
Priority:
Major
-
Resolution: Unresolved
-
Affects Version/s: None
-
Fix Version/s: None
-
Component/s: None
-
Labels:None
Description
Right now it allows to mix declarations, sometimes allowing an illegal syntax (-nth shouldn't be allowed in the following example)
example from jayq:
(extend-type js/jQuery IIndexed (-nth [this n] ...) (-nth [this n not-found] ...) ILookup (-lookup ([this k] ...) ([this k not-found] ...))
It already throws an error with some protocols such as IFn, but not for all of them.