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

Only mention one default value for the compiler's jvmTarget #5277

Conversation

sschuberth
Copy link
Contributor

The current docs mention both "1.8" and "JvmTarget.DEFAULT" as default values for the jvmTarget property. Only keep the latter which is the correct default value.

The current docs mention both "1.8" and "JvmTarget.DEFAULT" as default
values for the `jvmTarget` property. Only keep the latter which is the
correct default value.
@sschuberth
Copy link
Contributor Author

Ouch, thanks @udalov. What's the source of this help text then, is it compiler/cli/cli-common/src/org/jetbrains/kotlin/cli/common/arguments/K2JVMCompilerArguments.kt?

@sschuberth
Copy link
Contributor Author

Any hint @udalov?

@udalov
Copy link
Member

udalov commented May 13, 2024

Yes, it's K2JVMCompilerArguments. But if you remove this part from the description there, it'll make it unclear in the CLI help (kotlinc -help).

@sschuberth
Copy link
Contributor Author

Ok, then I'll just close this.

@sschuberth sschuberth closed this May 13, 2024
@sschuberth sschuberth deleted the no-duplicate-default-jvmTargets branch May 13, 2024 11:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
3 participants