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

Handling of splat arguments #6

Open
cstjean opened this issue Sep 21, 2018 · 0 comments
Open

Handling of splat arguments #6

cstjean opened this issue Sep 21, 2018 · 0 comments

Comments

@cstjean
Copy link
Contributor

cstjean commented Sep 21, 2018

julia> @anamnesis function blah(x, z...)
       z
       end
blah (generic function with 3 methods)

julia> blah(1,2,3)
ERROR: MethodError: no method matching +(::Int64, ::Tuple{Int64,Int64})

We'd need code like this

@cstjean cstjean changed the title Handling of optional arguments Handling of splat arguments Sep 24, 2018
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

No branches or pull requests

1 participant