authorgravatar for andrew@ziglang.orgAndrew Kelley <andrew@ziglang.org> 2021-04-21 19:10:54-07:00
committergravatar for andrew@ziglang.orgAndrew Kelley <andrew@ziglang.org> 2021-04-21 19:10:54-07:00
log4cfea2fbd51b5ecf7405c98432d14a8ace12247d
treee046ccd9d5288ba98d0cae11feebc399e6f5247f
parentd10ec6e70dbcf49ba14be549069271e564fec76b

AstGen: fix `@floatCast` having wrong arity

It's not time for #5909 yet.

1 files changed, 2 insertions(+), 2 deletions(-)

src/BuiltinFn.zig+2-2
......@@ -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 .{