[JS IR] fix compilation

This commit is contained in:
Anton Bannykh
2021-12-02 12:41:45 +03:00
parent 53fe540884
commit 8c558fb6ba
@@ -206,14 +206,6 @@ class K2JsIrCompiler : CLICompiler<K2JSCompilerArguments>() {
val includes = arguments.includes!!
// TODO: deduplicate
val mainModule = run {
if (sourcesFiles.isNotEmpty()) {
messageCollector.report(ERROR, "Source files are not supported when -Xinclude is present")
}
MainModule.Klib(includes)
}
val start = System.currentTimeMillis()
val updated = actualizeCacheForModule(