ribesg
11/17/2020, 2:35 PMpublic final val callStackReturnAddresses: kotlin.collections.List<*> /* compiled code */
@kotlinx.cinterop.ObjCMethod public open external fun callStackReturnAddresses(): kotlin.collections.List<*> { /* compiled code */ }
- Why is the val final? It isn’t in ObjC/Swift
- Why is there an open function with the same name? Does overriding it overrides the val too? How does that work?louiscad
11/18/2020, 2:20 AMsvyatoslav.scherbina
11/18/2020, 8:29 AM- Why is there an open function with the same name? Does overriding it overrides theYes. To override atoo?val
val, you need to override its accessor(s). callStackReturnAddresses() is the getter.