String Literal Interpolation #46

Merged
kayomn merged 6 commits from kym-string-interpolation into main 2023-11-08 00:32:49 +01:00
1 changed files with 2 additions and 2 deletions
Showing only changes of commit 83680607b7 - Show all commits

View File

@ -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",
});
}