Libraryless. Click here for Pure Java version (5352L/30K).
svoid test_parseECJOutputForErrors() { S text = unindentMLS([[ ---------- 1. ERROR in /home/stefan/JavaX-Caches/Temp/1642773472353/UserCode_1642773470538.java (at line 26) xg.fillRect(10, 10, 10, 10); ^^ xg cannot be resolved ---------- ]]; var errors = parseECJOutputForErrors(text); assertEqualsVerbose(1, l(errors)); assertEqualsVerbose("xg cannot be resolved", first(errors).error); assertEqualsVerbose(26, first(errors).lineNr); assertEqualsVerbose(intRange(3, 5), first(errors).colRange); }
Began life as a copy of #1034084
download show line numbers debug dex old transpilations
Travelled to 3 computer(s): bhatertpkbcr, mowyntqkapby, mqqgnosmbjvj
No comments. add comment
| Snippet ID: | #1034085 |
| Snippet name: | test_parseECJOutputForErrors |
| Eternal ID of this version: | #1034085/4 |
| Text MD5: | 5101ad5e877d3bae80f62de9b66cf058 |
| Transpilation MD5: | 1218e05281ee4a0abb4d5241c2f559f4 |
| Author: | stefan |
| Category: | javax / compiling |
| Type: | JavaX fragment (include) |
| Public (visible to everyone): | Yes |
| Archived (hidden from active list): | No |
| Created/modified: | 2022-01-21 16:22:05 |
| Source code size: | 558 bytes / 16 lines |
| Pitched / IR pitched: | No / No |
| Views / Downloads: | 332 / 476 |
| Version history: | 3 change(s) |
| Referenced in: | #1006654 - Standard functions list 2 (LIVE, continuation of #761) |