Libraryless. Click here for Pure Java version (5535L/31K).
1 | svoid printLineContextAfterJavaCompilerError(Throwable error, S src) { |
2 | // (line 980,col 1) |
3 | int line = parseIntOpt(jextract("(line <int>,", str(error))); |
4 | if (line != 0) |
5 | printLineWithContext(src, line); |
6 | } |
Began life as a copy of #1031181
download show line numbers debug dex old transpilations
Travelled to 3 computer(s): bhatertpkbcr, mowyntqkapby, mqqgnosmbjvj
No comments. add comment
Snippet ID: | #1033534 |
Snippet name: | printLineContextAfterJavaCompilerError |
Eternal ID of this version: | #1033534/1 |
Text MD5: | 3c643791d8d4f921686ce8fa08dee032 |
Transpilation MD5: | cfd335c3b318382ccf211059eaca00f9 |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2021-11-01 20:05:58 |
Source code size: | 217 bytes / 6 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 184 / 275 |
Referenced in: | [show references] |