String Literal Interpolation #46
|
@ -533,8 +533,8 @@ pub const RuntimeEnv = struct {
|
|||
|
||||
if (arg_count < arity) {
|
||||
return self.raise(error.BadOperation, "expected `{expected}` {noun}, {provided} provided", .{
|
||||
.expected = arity,
|
||||
.provided = arg_count,
|
||||
.expected = arg_count,
|
||||
.provided = arity,
|
||||
.noun = if (arity == 1) "argument" else "arguments",
|
||||
});
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue