mirror of
https://github.com/vlang/v.git
synced 2025-09-13 14:32:26 +03:00
cgen: fix c codegen formatting for return match (#22768)
This commit is contained in:
parent
2c0446dc3b
commit
0585d96495
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue