[KLIB] Normalize path string to keep file order on Windows OS
This commit is contained in:
@@ -110,7 +110,7 @@ fun generateKLib(
|
||||
val irData = compiledIrFiles[f] ?: error("No Ir Data found for file $f")
|
||||
val metaFile = compiledMetaFiles[f] ?: error("No Meta Data found for file $f")
|
||||
val irFile = with(irData) {
|
||||
SerializedIrFile(fileData, String(fqn), f.path, symbols, types, strings, bodies, declarations)
|
||||
SerializedIrFile(fileData, String(fqn), f.path.replace('\\', '/'), symbols, types, strings, bodies, declarations)
|
||||
}
|
||||
storage.add(KotlinFileSerializedData(metaFile.metadata, irFile))
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user