[CLJS-624] Null pointer exception from using the "when" function in extend-type macro Created: 17/Oct/13 Updated: 18/Oct/13 Resolved: 18/Oct/13
Was writing a patch to fix
|Comment by Rupa Shankar [ 17/Oct/13 3:16 PM ]|
The code that produces the null pointer exception – using when-not does not, but using when (as the patch currently does) does produce the exception.
|Comment by David Nolen [ 18/Oct/13 3:39 PM ]|
this is not a bug in ClojureScript itself, the patch will allow nils to flow into analyzer/resolve-var which won't work, because (namespace nil) will throw.