Thomas
06/19/2019, 2:26 PMCannot find protocol declaration for 'CommonKotlinCoroutineContextElement'; did you mean 'CommonKotlinCoroutineContextKey'?
This is the part where it shows the error:
__attribute__((swift_name("KotlinCoroutineContext")))
@protocol CommonKotlinCoroutineContext
@required
- (id _Nullable)foldInitial:(id _Nullable)initial operation:(id _Nullable (^)(id _Nullable, id<CommonKotlinCoroutineContextElement>))operation __attribute__((swift_name("fold(initial:operation:)")));
- (id<CommonKotlinCoroutineContextElement> _Nullable)getKey:(id<CommonKotlinCoroutineContextKey>)key __attribute__((swift_name("get(key:)")));
- (id<CommonKotlinCoroutineContext>)minusKeyKey:(id<CommonKotlinCoroutineContextKey>)key __attribute__((swift_name("minusKey(key:)")));
- (id<CommonKotlinCoroutineContext>)plusContext:(id<CommonKotlinCoroutineContext>)context __attribute__((swift_name("plus(context:)")));
@end;
Could anyone here point me in the right direction what could be wrong?elizarov
06/19/2019, 2:30 PM1.2.2
. The updated 1.3.0 milestone will come a bit later.Thomas
06/19/2019, 2:52 PMThomas
06/19/2019, 5:09 PM1.2.2
but unfortunately that gives the same errorelizarov
06/19/2019, 5:10 PMsvyatoslav.scherbina
06/20/2019, 8:20 AMsvyatoslav.scherbina
06/20/2019, 12:59 PMclass Workaround {
fun workaround(element: kotlin.coroutines.CoroutineContext.Element) {}
}
to your Kotlin code may help to workaround the issue. Does it?svyatoslav.scherbina
06/20/2019, 1:00 PMThomas
06/20/2019, 1:33 PMsvyatoslav.scherbina
06/20/2019, 1:44 PMribesg
06/21/2019, 7:22 AMsvyatoslav.scherbina
06/21/2019, 7:32 AMribesg
06/21/2019, 7:41 AM