asarazan / koverage

100% code coverage for Kotlin
Apache License 2.0
9 stars 1 forks source link

Coroutines coverage #12

Open nickcapurso opened 6 years ago

nickcapurso commented 6 years ago

If the generated code for coroutines require any extra Koverage.

ZakTaccardi commented 4 years ago

Seeing the following exception:

kotlin.TypeCastException: null cannot be cast to non-null type kotlin.reflect.KClass<*>

for:

data class Params(val provideBaseUrl: suspend () -> String)

Koverage.cover<Params>()  // exception thrown here
ZakTaccardi commented 4 years ago

@nickcapurso is this the same issue?