cgen: minor cleanup in match_expr() (#13192)

pull/13200/head
yuyi 2022-01-17 17:26:20 +08:00 committed by GitHub
parent 8de1934f51
commit 851f265a5e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 0 additions and 2 deletions

View File

@ -3776,8 +3776,6 @@ fn (mut g Gen) need_tmp_var_in_match(node ast.MatchExpr) bool {
}
fn (mut g Gen) match_expr(node ast.MatchExpr) {
// println('match expr typ=$it.expr_type')
// TODO
if node.cond_type == 0 {
g.writeln('// match 0')
return