Open debdutta-yore opened 1 year ago
assertThat(Int::class.java, typeCompatibleWith(Number::class.java)) in kotlin always fails
But open class Base class Extended: Base() assertThat(Extended::class.java, typeCompatibleWith(Base::class.java)) succeed
assertThat(Int::class.java, typeCompatibleWith(Number::class.java)) in kotlin always fails
But open class Base class Extended: Base() assertThat(Extended::class.java, typeCompatibleWith(Base::class.java)) succeed