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

vararg in Route class not allowed #26

Closed
aneophyte opened this issue Nov 13, 2015 · 5 comments
Closed

vararg in Route class not allowed #26

aneophyte opened this issue Nov 13, 2015 · 5 comments

Comments

@aneophyte
Copy link
Contributor

Compilation fails with this message:
src/main/kotlin/org/wasabi/routing/Route.kt: (9, 104): Primary constructor vararg parameters are forbidden for data classes

Something to do with compiler change that the library has not addressed?

@swishy
Copy link
Collaborator

swishy commented Nov 13, 2015

Yes has been on the radar must have been enforced with a recent update, ill get a fix in soon , thanks for raising the issue.

@hhariri
Copy link
Collaborator

hhariri commented Nov 14, 2015

Yep this change to Kotlin essentially breaks this whole model :(.

@hhariri
Copy link
Collaborator

hhariri commented Nov 15, 2015

I've just pushed some changes that should solve this.

@aneophyte
Copy link
Contributor Author

Thank you very much! I shall pull and test this.

@swishy
Copy link
Collaborator

swishy commented Dec 8, 2015

Closing all gold at my end

@swishy swishy closed this as completed Dec 8, 2015
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

3 participants