We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 14e9d3f commit 448e9faCopy full SHA for 448e9fa
src/main/java/scala/tools/asm/tree/MethodNode.java
@@ -570,7 +570,10 @@ public void visitEnd() {
570
*/
571
protected LabelNode getLabelNode(final Label label) {
572
if (!(label.info instanceof LabelNode)) {
573
- label.info = new LabelNode();
+ // Patch in scala-asm: changed `new LabelNode()` to `new LabelNode(l)`
574
+ // TODO: check if this can go upstream, or if it is still discouraged
575
+ // https://mail.ow2.org/wws/arc/asm/2011-07/msg00032.html
576
+ label.info = new LabelNode(label);
577
}
578
return (LabelNode) label.info;
579
0 commit comments