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

Methods with varargs parameter can't be generated #48

Closed
bannmann opened this issue Jul 14, 2021 · 1 comment
Closed

Methods with varargs parameter can't be generated #48

bannmann opened this issue Jul 14, 2021 · 1 comment

Comments

@bannmann
Copy link
Contributor

A new API I added to my AG file contains methods which use varargs:

quux(String... strings)

When run, Silverchain prints the following error:

Encountered " <NAME> "quux "" at line XX, column YY.
Was expecting:
    ";" ...

Interestingly, it doesn't complain about the String... which clearly is the problem here, but about "quux" (line/column number matches that identifier as well).

@bannmann
Copy link
Contributor Author

Works fine, thanks.

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