cgen: minor cleanup in match_expr() (#13192)
parent
8de1934f51
commit
851f265a5e
|
@ -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) {
|
fn (mut g Gen) match_expr(node ast.MatchExpr) {
|
||||||
// println('match expr typ=$it.expr_type')
|
|
||||||
// TODO
|
|
||||||
if node.cond_type == 0 {
|
if node.cond_type == 0 {
|
||||||
g.writeln('// match 0')
|
g.writeln('// match 0')
|
||||||
return
|
return
|
||||||
|
|
Loading…
Reference in New Issue