[CLJ-1370] ((println)) should throw CompilerException instead of NPE? Created: 06/Mar/14 Updated: 06/Mar/14 Resolved: 06/Mar/14
|Affects Version/s:||Release 1.5|
I might be completely wrong, in which case don't hesitate to close this defect, but I wish this would throw a CompilerException with an IllegalArgumentException, just like ((nil)):
|Comment by Alex Miller [ 06/Mar/14 12:37 PM ]|
There is no compilation error here. The error occurs during evaluation.
The error is thrown when trying to evaluate (nil) where NullPointerException is a perfectly valid error.