mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
Groovy ControlFlowBuilder: additional logging
This commit is contained in:
+3
-1
@@ -1120,7 +1120,9 @@ public class ControlFlowBuilder extends GroovyRecursiveElementVisitor {
|
||||
private void finishNode(InstructionImpl instruction) {
|
||||
final InstructionImpl popped = myProcessingStack.pop();
|
||||
if (!instruction.equals(popped)) {
|
||||
String description = "popped: " + popped.toString() + " : " + popped.hashCode() + " , expected: " + instruction.toString() + " : " + instruction.hashCode();
|
||||
String description = "popped: " + popped.toString() + " : " + popped.hashCode() +
|
||||
" , expected: " + instruction.toString() + " : " + instruction.hashCode() +
|
||||
"same objects:" + (popped == instruction);
|
||||
error(description);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user