Skip to content

Commit f298766

Browse files
CLJ-2128 spec failure during macroexpand should wrap in compiler exception with location info
1 parent 964232c commit f298766

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/jvm/clojure/lang/Compiler.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6844,7 +6844,7 @@ public static Object macroexpand1(Object x) {
68446844
check.applyTo(RT.cons(v, RT.list(form.next())));
68456845
}
68466846
}
6847-
catch(IllegalArgumentException e)
6847+
catch(Exception e)
68486848
{
68496849
throw new CompilerException((String) SOURCE_PATH.deref(), lineDeref(), columnDeref(), e);
68506850
}

0 commit comments

Comments
 (0)