I have a jave class with function `getResult():T`....
# multiplatform
k
I have a jave class with function
getResult():T
. Normally in kotlin I can then use
value.result
to get this value. However this doesn't seem to be possible with `expect`/`actual`. Am I missing something?
b
This is about satisfying an expect class's requirements for a
val result: T
with
getResult(): T
in Java and running into warnings?
k
It's a compile error it seems
Although I noticed my js code also uses
getResult()
so it"s not really needed anymore. I did add an extension property for ease of accessing
b
there are also KT links in the code comments above that line
s
TIL that’s possible