Some IDEA code wants package files to have extensions.

So let's make IDE dudes happy.
This commit is contained in:
Alexander Gorshenev
2017-09-28 17:18:46 +03:00
committed by alexander-gorshenev
parent 56afadfcb1
commit 6118424ef7
@@ -46,7 +46,7 @@ interface KonanLibraryLayout {
val escapeAnalysisFile
get() = File(linkdataDir, "module_escape_analysis")
fun packageFile(packageName: String)
= File(linkdataDir, if (packageName == "") "root_package" else "package_$packageName")
= File(linkdataDir, if (packageName == "") "root_package.knm" else "package_$packageName.knm")
}
interface KonanLibrary: KonanLibraryLayout {