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

[Kotlin] Compatibility issue with new K2 compiler #17465

Closed
rouazana opened this issue Dec 22, 2023 · 1 comment
Closed

[Kotlin] Compatibility issue with new K2 compiler #17465

rouazana opened this issue Dec 22, 2023 · 1 comment

Comments

@rouazana
Copy link
Contributor

Description

Generated code is not compatible with the new K2 compiler.

The issue is that it is using some non initialized variables, which is not allowed.

openapi-generator version

master

OpenAPI declaration file content or url

N/A

Command line used for generation

N/A

Steps to reproduce

N/A

Related issues/PRs

N/A

Suggest a fix/enhancement

Replacing val by lateinit var fix the issue, a PR is coming.

@rouazana
Copy link
Contributor Author

rouazana commented Jan 8, 2024

The related MR has been merged, thanks!

@rouazana rouazana closed this as completed Jan 8, 2024
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