diff --git a/compiler/cli/cli-js/src/org/jetbrains/kotlin/cli/js/K2JsIrCompiler.kt b/compiler/cli/cli-js/src/org/jetbrains/kotlin/cli/js/K2JsIrCompiler.kt index b8072a7f8db..65a2842aa0a 100644 --- a/compiler/cli/cli-js/src/org/jetbrains/kotlin/cli/js/K2JsIrCompiler.kt +++ b/compiler/cli/cli-js/src/org/jetbrains/kotlin/cli/js/K2JsIrCompiler.kt @@ -376,6 +376,13 @@ class K2JsIrCompiler : CLICompiler() { ) return OK + } else { + if (arguments.irDceDumpReachabilityInfoToFile != null) { + messageCollector.report(STRONG_WARNING, "Dumping the reachability info to file is supported only for Kotlin/Wasm.") + } + if (arguments.irDceDumpDeclarationIrSizesToFile != null) { + messageCollector.report(STRONG_WARNING, "Dumping the size of declarations to file is supported only for Kotlin/Wasm.") + } } val start = System.currentTimeMillis()