Libraryless. Click here for Pure Java version (5535L/31K).
svoid printLineContextAfterJavaCompilerError(Throwable error, S src) { // (line 980,col 1) int line = parseIntOpt(jextract("(line <int>,", str(error))); if (line != 0) printLineWithContext(src, line); }
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: | 182 / 273 |
Referenced in: | [show references] |