basher
12/29/2019, 5:56 PMgetFoo(), which gets translated to the val foo in Kotlin, is there a way to write an expect class that captures that? If I do:
expect class F {
val foo: Int
}
Kotlin (1.3.61) complains that the matching class in Java (via actual typealias F = MyJavaClass) doesn't have that property. Is there some kind of annotation I need to use in my expect class to make this work (so that when val foo matches up with the Java getter)?Dominaezzz
12/29/2019, 6:01 PMbasher
12/29/2019, 6:01 PMDominaezzz
12/29/2019, 6:10 PMDominaezzz
12/29/2019, 6:17 PMbasher
12/29/2019, 9:46 PMDominaezzz
12/29/2019, 9:53 PMinline) wrapper route, like they did for Regex.