Render file name and position in errors from JS library stubs

This commit is contained in:
Andrey Breslav
2014-03-27 19:43:20 +04:00
parent c74542c72e
commit bcc6843835
4 changed files with 20 additions and 5 deletions
@@ -73,4 +73,9 @@ public class CompilerMessageLocation {
result = 31 * result + column;
return result;
}
@Override
public String toString() {
return path + ((line != -1 || column != -1) ? " (" + line + ":" + column + ")" : "");
}
}