cgen: fix c codegen formatting for return match (#22768)

This commit is contained in:
Felipe Pena 2024-11-05 16:29:12 -03:00 committed by GitHub
parent 2c0446dc3b
commit 0585d96495
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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 {
''
}