Skip to content

Commit 76c9ab4

Browse files
authored
fix callconv's expression scope
should close ziglang#4630
1 parent 25266d0 commit 76c9ab4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/AstGen.zig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3081,7 +3081,7 @@ fn fnDecl(
30813081
.{},
30823082
);
30833083
}
3084-
break :blk try expr(
3084+
break :blk try comptimeExpr(
30853085
&decl_gz,
30863086
params_scope,
30873087
.{ .ty = .calling_convention_type },

0 commit comments

Comments
 (0)