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