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 array parameter can't be generated #49

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

Methods with array parameter can't be generated #49

bannmann opened this issue Jul 14, 2021 · 1 comment

Comments

@bannmann
Copy link
Contributor

While testing #48, I added a method signature with an array parameter to my AG file:

bar(String[] strings)

When run, Silverchain prints the following error:

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

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

Note: Personally, I'm not really using array arguments, but for completeness' sake, Silverchain should support them.

@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