mirror of
https://github.com/vlang/v.git
synced 2025-09-15 10:27:19 -04:00
cgen: fix c codegen formatting for return match (#22768)
This commit is contained in:
parent
2c0446dc3b
commit
0585d96495
@ -77,7 +77,7 @@ fn (mut g Gen) match_expr(node ast.MatchExpr) {
|
||||
} else {
|
||||
line := if is_expr {
|
||||
g.empty_line = true
|
||||
g.go_before_last_stmt()
|
||||
g.go_before_last_stmt().trim_left('\t')
|
||||
} else {
|
||||
''
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user