We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c69250e commit 7627d55Copy full SHA for 7627d55
src/mingwX64Main/kotlin/File.kt
@@ -291,7 +291,7 @@ actual class File actual constructor(pathname: String) {
291
}
292
293
294
-actual val filePathSeparator by lazy { if (Platform.osFamily == OsFamily.WINDOWS) '\\' else '/' }
+actual val filePathSeparator by lazy { if (platform() == Platform.Windows) '\\' else '/' }
295
296
actual val File.mimeType: String
297
get() = ""
0 commit comments