https://kotlinlang.org logo
#multiplatform
Title
# multiplatform
p

pardom

03/07/2019, 3:06 PM
I’ve encountered an issue when using Coroutines in mpp. The Obj-C header errors on the following line:
@property (class, readonly) CounterCoreCoroutineStart *default;
👍 1
I assume because
default
is a keyword.
These are the errors
r

russhwolf

03/07/2019, 3:36 PM
Yeah I've seen that before. Obj-C keywords don't break Kotlin compilation but will fail to compile at the Obj-C layer in this way. Not sure if there's a youtrack ticket around that or anything.
o

olonho

03/07/2019, 3:58 PM
This is fixed in upcoming EAP of 1.3.30
👍 3
p

pardom

03/07/2019, 4:11 PM
I just changed it to
_default
to get it to build, but I don’t know what that will break 😬
r

russhwolf

03/07/2019, 4:28 PM
@olonho Was the fix to disallow these keywords in K/N that compiles to a framework? Or do you allow it and change the compiled name? Or something else?
o

olonho

03/07/2019, 4:31 PM
Change to smth like
default_
2 Views