From 0585d9649510ab25e9c263b4ee778390c70fab48 Mon Sep 17 00:00:00 2001 From: Felipe Pena Date: Tue, 5 Nov 2024 16:29:12 -0300 Subject: [PATCH] cgen: fix c codegen formatting for return match (#22768) --- vlib/v/gen/c/match.v | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vlib/v/gen/c/match.v b/vlib/v/gen/c/match.v index 050cfd3d8b..cd55950d90 100644 --- a/vlib/v/gen/c/match.v +++ b/vlib/v/gen/c/match.v @@ -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 { '' }