Skip to content

Commit 89245c6

Browse files
hugoduncanstuarthalloway
authored andcommitted
Fix CLJ-788 add line member to CompilerException
Signed-off-by: Stuart Halloway <stu@thinkrelevance.com>
1 parent 0a483d4 commit 89245c6

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

src/jvm/clojure/lang/Compiler.java

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6285,9 +6285,12 @@ else if(form instanceof IPersistentSet)
62856285
static public class CompilerException extends RuntimeException{
62866286
final public String source;
62876287

6288+
final public int line;
6289+
62886290
public CompilerException(String source, int line, Throwable cause){
62896291
super(errorMsg(source, line, cause.toString()), cause);
62906292
this.source = source;
6293+
this.line = line;
62916294
}
62926295

62936296
public String toString(){

0 commit comments

Comments
 (0)