I have a Java method with the signature `void awes...
# compiler
c
I have a Java method with the signature
void awesomeMethod(Class<? extends Parent> klasss)
but the compiler (in Android Studio) doesn’t accept an instance Kotlin class
class Child : Parent
as a valid parameter value.
d
Can you please show a problematic piece of code?
c
The compiler is correct with the enforcement. I had subclassed a different parent class with the same name.