[CLJ-1220] instance? should either verify all operands or throw if more than one passed Created: 19/Jun/13 Updated: 05/Jun/15 Resolved: 02/Sep/13
|Affects Version/s:||Release 1.5|
|Fix Version/s:||Release 1.6|
(instance? Number 1) ;; => true
I find behavior of the last expression very surprising, I would
(and (instance? Number 1) (instance? Number "a") ...)
Or throw "Wrong number of args (3) passed to instance?" exception.
|Comment by Andy Fingerhut [ 19/Jun/13 5:32 PM ]|
Irakli, one of the patches for
|Comment by Alex Miller [ 02/Sep/13 7:52 PM ]|
|Comment by Nicola Mometto [ 05/Jun/15 9:56 AM ]|
Ticket was marked as a duplicate and resolved but not closed. I'm closing it.