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

doesn't handle variadics #7

Open
natefinch opened this issue Oct 3, 2016 · 0 comments
Open

doesn't handle variadics #7

natefinch opened this issue Oct 3, 2016 · 0 comments
Labels
Milestone

Comments

@natefinch
Copy link
Owner

should be able to handle variadics we otherwise handle

@natefinch natefinch added the bug label Oct 5, 2016
@natefinch natefinch modified the milestone: 1.0 Oct 9, 2016
Houndie added a commit to Houndie/gorram that referenced this issue Mar 16, 2018
Note:  Right now the slice will grab every argument from where it is til
the end.  This is fine for variadics which must be the last parameter,
but slices don't have to be.  Need to implement error handling for
functions which contain a slice argument which is not last.

Alternatively, define alternate syntax for slices such as
"gorram pkg func {some, slice, parameter} other parameters"
Houndie added a commit to Houndie/gorram that referenced this issue Mar 16, 2018
Note:  Right now the slice will grab every argument from where it is til
the end.  This is fine for variadics which must be the last parameter,
but slices don't have to be.  Need to implement error handling for
functions which contain a slice argument which is not last.

Alternatively, define alternate syntax for slices such as
"gorram pkg func {some, slice, parameter} other parameters"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant