[K/JS] Deprecate old JS-compiler
This commit is contained in:
+5
@@ -362,6 +362,11 @@ class K2JSCompilerArguments : CommonCompilerArguments() {
|
||||
collector.deprecationWarn(irBaseClassInMetadata, false, "-Xir-base-class-in-metadata")
|
||||
collector.deprecationWarn(irNewIr2Js, true, "-Xir-new-ir2js")
|
||||
|
||||
if (languageVersion >= LanguageVersion.KOTLIN_1_9) {
|
||||
collector.deprecationWarn(legacyDeprecatedNoWarn, false, "-Xlegacy-deprecated-no-warn")
|
||||
collector.deprecationWarn(useDeprecatedLegacyCompiler, false, "-Xuse-deprecated-legacy-compiler")
|
||||
}
|
||||
|
||||
return super.configureAnalysisFlags(collector, languageVersion).also {
|
||||
it[allowFullyQualifiedNameInKClass] = wasm && wasmKClassFqn //Only enabled WASM BE supports this flag
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user