Commit 4cfea2fbd5

Andrew Kelley <andrew@ziglang.org>
2021-04-22 04:10:54
AstGen: fix `@floatCast` having wrong arity
It's not time for #5909 yet.
1 parent d10ec6e
Changed files (1)
src/BuiltinFn.zig
@@ -414,14 +414,14 @@ pub const list = list: {
             "@floatCast",
             .{
                 .tag = .float_cast,
-                .param_count = 1,
+                .param_count = 2,
             },
         },
         .{
             "@floatToInt",
             .{
                 .tag = .float_to_int,
-                .param_count = 1,
+                .param_count = 2,
             },
         },
         .{