I'm hoping someone here can/will help, as my exper...
# announcements
n
I'm hoping someone here can/will help, as my experience at discuss.kotlinlang.org had been one of unresponsiveness. I believe there is a bug in coroutines when combined with a class using @JvmSuppressWilcards. The description and example is here: https://discuss.kotlinlang.org/t/kotlin-1-3-and-coroutines/10084/4 This had only appears since Kotlin 1.3 and coroutines 1.0.0. should I just be raising this directly as a bug?
l
@nickheitz If there's a bug, or you believe there is one, yes, you should directly report it on kotl.in/issue
p
I've looked at the original post. The
@JvmWildcards
annotation should only affect the generated wildcards in the class file. It should not fail. What I suspect is that the generated coroutine code does not properly take the different signatures due to
@JvmWildcards
into account and thus generates the wrong method (an overload instead of an override). It is a bug, so report it on youtrack.
☝️ 1