if (combined.isErrorContext()) {
throw SoyAutoescapeException.createWithNode(
(node instanceof IfNode ?
"{if} command branch ends in a different context than preceding branches: " :
"{switch} command case ends in a different context than preceding cases: ") +
branch.toSourceString(),
branch);
}
out = combined;
if (branch instanceof IfElseNode || branch instanceof SwitchDefaultNode) {
sawElseOrDefault = true;