Skip to content

Conversation

SaculRennorb
Copy link

This changes the error message for procedures with default arguments from
Too many arguments for '<proc>', expected <arg_count_without_defaults>, got <provided_arg_count> to
Too many arguments for '<proc>', expected between <arg_count_without_defaults> and <arg_count> arguments, got <provided_arg_count>.

I found the previous error message to be misleading, as it states the procedure having less arguments than it actually has. The fact that arguments with default values are not included in that count is not clear in the previous message.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant