Fixed curious error message expected class does not have default constructor

This commit is contained in:
dankito 2021-01-18 14:48:01 +01:00
parent 4f05a8df14
commit ed34627ea1
5 changed files with 5 additions and 5 deletions

View File

@ -1,7 +1,7 @@
package net.dankito.utils.multiplatform.os
expect class DeviceInfoRetriever {
expect class DeviceInfoRetriever actual constructor() {
fun getDeviceInfo(): DeviceInfo

View File

@ -1,7 +1,7 @@
package net.dankito.utils.multiplatform.os
expect class OsHelper() {
expect class OsHelper actual constructor() {
val osType: OsType

View File

@ -1,7 +1,7 @@
package net.dankito.utils.multiplatform.os
actual class OsHelper actual constructor() {
actual class OsHelper {
actual val osType = OsType.iOS

View File

@ -4,7 +4,7 @@ import java.io.PrintWriter
import java.io.StringWriter
actual class StackTraceHelper actual constructor() {
actual class StackTraceHelper {
actual fun getStackTrace(e: Throwable, maxCountStackTraceElements: Int?): String {
val stringWriter = StringWriter()

View File

@ -1,7 +1,7 @@
package net.dankito.utils.multiplatform.os
actual open class OsHelper actual constructor() {
actual open class OsHelper {
actual val osType: OsType