Skip to content

Commit 062740f

Browse files
committed
Clarify the error for the wrong number of positional arguments
1 parent b96732f commit 062740f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

spec/core_functions/list/join/error.hrx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ Error: Function join has no parameter named $invalid
9393
a {b: join(c, d, comma, true, false, $invalid: true)}
9494

9595
<===> positional_and_named/error
96-
Error: Only 4 arguments allowed, but 5 were passed.
96+
Error: Only 4 positional arguments allowed, but 5 were passed.
9797
,
9898
1 | a {b: join(c, d, comma, true, false, $invalid: true)}
9999
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

0 commit comments

Comments
 (0)