You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The statements in the default block of a switch statement disappear. it manifests itself when running with DumpVisitor. I think this is due to the else if statement in SwitchBlockStatementGroupContextAdapter:
else if (context.switchLabel().DEFAULT() != null) {
// Explicitly setting these null for readability
switchEntryStmt.setLabel(null);
switchEntryStmt.setStmts(null);
}
The text was updated successfully, but these errors were encountered:
jraeymae
changed the title
Default switch block statements disapear
Default switch block statements disappear
Jun 12, 2015
The statements in the default block of a switch statement disappear. it manifests itself when running with DumpVisitor. I think this is due to the else if statement in SwitchBlockStatementGroupContextAdapter:
else if (context.switchLabel().DEFAULT() != null) {
// Explicitly setting these null for readability
switchEntryStmt.setLabel(null);
switchEntryStmt.setStmts(null);
}
The text was updated successfully, but these errors were encountered: