Skip to content

Commit 4cfea2f

Browse files
committed
AstGen: fix @floatCast having wrong arity
It's not time for #5909 yet.
1 parent d10ec6e commit 4cfea2f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/BuiltinFn.zig

+2-2
Original file line numberDiff line numberDiff line change
@@ -414,14 +414,14 @@ pub const list = list: {
414414
"@floatCast",
415415
.{
416416
.tag = .float_cast,
417-
.param_count = 1,
417+
.param_count = 2,
418418
},
419419
},
420420
.{
421421
"@floatToInt",
422422
.{
423423
.tag = .float_to_int,
424-
.param_count = 1,
424+
.param_count = 2,
425425
},
426426
},
427427
.{

0 commit comments

Comments
 (0)