Skip to content
This repository has been archived by the owner on Jan 28, 2019. It is now read-only.

Commit

Permalink
Emit warnings with the full source path
Browse files Browse the repository at this point in the history
Rather than just the file name which may be ambiguous
  • Loading branch information
arrdem committed Feb 3, 2016
1 parent 20d4120 commit c1a7fec
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/jvm/clojure/lang/Compiler.java
Original file line number Diff line number Diff line change
Expand Up @@ -6799,7 +6799,7 @@ private static Expr analyzeSymbol(Symbol sym) {
return analyze(C.EXPRESSION, RT.list(QUOTE, v.get()));
}

String loc = String.format(" (%s:%d:%d)", SOURCE.get(), lineDeref(), columnDeref());
String loc = String.format(" (%s:%d:%d)", SOURCE_PATH.get(), lineDeref(), columnDeref());
Object meta = RT.meta(v);
Namespace nsc = (Namespace) RT.CURRENT_NS.get();

Expand Down

0 comments on commit c1a7fec

Please sign in to comment.