diff options
Diffstat (limited to 'lib/compilers/java.ts')
-rw-r--r-- | lib/compilers/java.ts | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/lib/compilers/java.ts b/lib/compilers/java.ts index c01940c57..429e2f513 100644 --- a/lib/compilers/java.ts +++ b/lib/compilers/java.ts @@ -351,7 +351,11 @@ export class JavaCompiler extends BaseCompiler { method.instructions[currentInstr].instrOffset !== instrOffset ) { if (currentSourceLine === -1) { - logger.error('Skipping over instruction even though currentSourceLine == -1'); + // TODO: Triage for #2986 + logger.error( + 'Skipping over instruction even though currentSourceLine == -1', + JSON.stringify(method.instructions.slice(0, currentInstr + 10)), + ); } else { // instructions without explicit line number get assigned the last explicit/same line number method.instructions[currentInstr].sourceLine = currentSourceLine; |