You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I faced issues when I converted my Kotlin code to the web platform (JS).
My code:
internal class FileSystemImpl(
private val fileSystem: KotlinFiles = SystemFileSystem,
) : FileSystem {
The crash: platform undefined
The crash happens when FileSystemImpl is created.
// JS code
var properties_initialized_FileSystemJs_kt_lg8f5i;
function _init_properties_FileSystemJs_kt__4boaac() {
if (!properties_initialized_FileSystemJs_kt_lg8f5i) {
properties_initialized_FileSystemJs_kt_lg8f5i = true;
SystemFileSystem = new SystemFileSystem$1();
// crash is here
isWindows = get_os().platform() == 'win32';
}
}
The text was updated successfully, but these errors were encountered:
Hello!
Thank you for your cool package!
I faced issues when I converted my Kotlin code to the web platform (JS).
My code:
The crash:
platform undefined
The crash happens when FileSystemImpl is created.
The text was updated successfully, but these errors were encountered: