Steps to reproduce
See
For every suspend function m, the Kotlin compiler generates a synthetic, static method m$suspendImpl that looks like a suspend function. However, since it's synthetic, lookups for the corresponding KFunction return null.
JUnit should not consider such synthetic methods as suspend functions and avoid the lookup and the subsequent failure.
Context
- Used versions (Jupiter/Vintage/Platform): 6.0.0
- Build Tool/IDE: irrelevant
Deliverables
Steps to reproduce
See
For every
suspendfunctionm, the Kotlin compiler generates a synthetic,staticmethodm$suspendImplthat looks like a suspend function. However, since it's synthetic, lookups for the correspondingKFunctionreturnnull.JUnit should not consider such synthetic methods as suspend functions and avoid the lookup and the subsequent failure.
Context
Deliverables