https://kotlinlang.org logo
w

william

11/19/2020, 1:05 AM
has anyone tried using
kotlin.Result
in multiplatform? i'm not having any luck using it with
Copy code
kotlin {
    targets.all {
        compilations.all {
            kotlinOptions {
                freeCompilerArgs = freeCompilerArgs + "-Xallow-result-return-type"
            }
        }
    }
}
I still get the message saying I can't use result as a return type
2 Views