I’ve encountered an issue when using Coroutines in...
# multiplatform
p
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
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
This is fixed in upcoming EAP of 1.3.30
👍 3
p
I just changed it to
_default
to get it to build, but I don’t know what that will break 😬
r
@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
Change to smth like
default_