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

Throw Exception when Block is Evaluated with Incorrect Number of Arguments #115

Closed
smarr opened this issue Mar 9, 2017 · 1 comment
Closed
Labels
good first issue Are you trying to have a good at SOMns? Start here! language-design Not everything is in the spec, sometimes, we need to decide what's best.

Comments

@smarr
Copy link
Owner

smarr commented Mar 9, 2017

Currently, evaluating a block with an incorrect number of arguments results only in an assertion failure.

For correctness and usability, it would be nice to signal an exception for incorrect number of arguments instead.

@smarr smarr added good first issue Are you trying to have a good at SOMns? Start here! language-design Not everything is in the spec, sometimes, we need to decide what's best. labels Mar 9, 2017
@smarr smarr added this to the later milestone Aug 7, 2017
@smarr
Copy link
Owner Author

smarr commented Feb 20, 2018

Fixed with #215.

@smarr smarr closed this as completed Feb 20, 2018
@smarr smarr modified the milestones: later, v0.6.0 - Black Diamonds Feb 20, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Are you trying to have a good at SOMns? Start here! language-design Not everything is in the spec, sometimes, we need to decide what's best.
Projects
None yet
Development

No branches or pull requests

1 participant