Add missing alt arm to expr_if pretty-printer
This commit is contained in:
parent
0d60918855
commit
5ba012f4a5
1 changed files with 1 additions and 0 deletions
|
@ -384,6 +384,7 @@ impure fn print_expr(ps s, @ast.expr expr) {
|
|||
wrd1(s, "else");
|
||||
print_block(s, blk);
|
||||
}
|
||||
case (_) { /* fall through */ }
|
||||
}
|
||||
}
|
||||
case (ast.expr_while(?test,?block,_)) {
|
||||
|
|
Loading…
Reference in a new issue