Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix arity error message with optional args. #7284

Merged
merged 3 commits into from
Feb 7, 2025
Merged

Conversation

cristianoc
Copy link
Collaborator

@cristianoc cristianoc commented Feb 7, 2025

Fixes #6637

We report on the difference between the args supplied and those required to provide the mandatory args.

Copy link

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Performance Alert ⚠️

Possible performance regression was detected for benchmark 'Syntax Benchmarks'.
Benchmark result of this commit is worse than the previous benchmark result exceeding threshold 1.05.

Benchmark suite Current: ca4667b Previous: e1b7fb7 Ratio
Parse RedBlackTree.res - time/run 1.3556878066666667 ms 1.2123143266666667 ms 1.12
Parse Napkinscript.res - time/run 42.53040860666667 ms 39.28006235333333 ms 1.08
Parse HeroGraphic.res - time/run 5.7261819266666665 ms 5.13472718 ms 1.12

This comment was automatically generated by workflow using github-action-benchmark.

@cristianoc cristianoc requested review from cknitt and zth February 7, 2025 10:44
Copy link
Member

@cknitt cknitt left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great, thanks a lot!

@cristianoc cristianoc merged commit 9ca9739 into master Feb 7, 2025
20 checks passed
@cristianoc cristianoc deleted the opt-arg-arity branch February 7, 2025 14:42
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.

Uncurried mode: error message claims incorrect required number of args in function with optional args
3 participants