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

Make code generation (for Java interoperability) opt-in #585

Merged
merged 3 commits into from
Jul 28, 2024

Conversation

fwcd
Copy link
Owner

@fwcd fwcd commented Jul 28, 2024

Code generation as implemented in #334 is currently rather experimental and throws a lot of exceptions on recent Kotlin versions. Until this is addressed, it would be a better user experience if we just disable code generation by default and let advanced users opt-in by setting

{
  "kotlin.codegen.enabled": true
}

The downside is that Java interoperability will no longer work without this option, but given that it doesn't really seem to work properly in the current state, I believe making it opt-in and experimental for now would be an improvement over the status quo.

cc @daplf

@fwcd fwcd added this to the 1.3.12 milestone Jul 28, 2024
@github-actions github-actions bot added the code quality Refactoring, tests etc. label Jul 28, 2024
@fwcd fwcd merged commit 3c0de00 into main Jul 28, 2024
11 checks passed
@fwcd fwcd deleted the make-codegen-optional branch July 28, 2024 23:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
code quality Refactoring, tests etc.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant