Skip to content

Commit

Permalink
AstGen: fix @floatCast having wrong arity
Browse files Browse the repository at this point in the history
It's not time for #5909 yet.
  • Loading branch information
andrewrk committed Apr 22, 2021
1 parent d10ec6e commit 4cfea2f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/BuiltinFn.zig
Original file line number Diff line number Diff line change
Expand Up @@ -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,
},
},
.{
Expand Down

0 comments on commit 4cfea2f

Please sign in to comment.