ianbrandt
04/22/2024, 6:36 PMe: KotlinTest.kt Argument type mismatch: actual type is 'com.mypackage.JavaClass<com.mypackage.OtherJavaClass>', but 'com.mypackage.JavaClass<com.mypackage.OtherJavaClass?>' was expected.
Compiles successfully with 1.9.23. I'm presuming I'll have to provide more details or a reproducer, but I figured I'd start by posting the error in case anyone recognizes it as a known issue.ianbrandt
04/22/2024, 6:40 PMianbrandt
04/22/2024, 7:19 PMval javaClass: JavaClass<OtherJavaClass> = mockk()
I changed it to:
val javaClass: JavaClass<OtherJavaClass?> = mockk()
...and everything compiles now.Anton Mefodichev
04/27/2024, 7:02 AM