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

Invalid static keyword for nested Kotlin classes #14

Closed
realdadfish opened this issue Jan 27, 2020 · 1 comment
Closed

Invalid static keyword for nested Kotlin classes #14

realdadfish opened this issue Jan 27, 2020 · 1 comment

Comments

@realdadfish
Copy link

The generated Kotlin code gets the keyword static added to inner Kotlin classes. This keyword does not exist. In Kotlin, all inner classes are by default static; to have a non-static inner class, Kotlin requires the developer to add the inner keyword in front of the inner class.

realdadfish pushed a commit to realdadfish/schema-gen that referenced this issue Jan 27, 2020
…es, the 'inner' keyword must be applied

Fixes issue reaster#14
@realdadfish
Copy link
Author

The fix from #15 was merged, so closing this.

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