This test fails:
class TestRes{
Test fun eqName(){
assertEquals(Name("a"),Name("a"))
}
}
data class Name(val name:String): Runnable{ // or any java interface
override fun run() {
throw UnsupportedOperationException()
}
}
This test fails:
class TestRes{
Test fun eqName(){
assertEquals(Name("a"),Name("a"))
}
}
data class Name(val name:String): Runnable{ // or any java interface
override fun run() {
throw UnsupportedOperationException()
}
}
Should be fixed in the recent builds, AFAIK. What version of Kotlin are you using?
0.8.11.1
You can use our bleeding edge builds for now, or wait until we roll out M9 (very soon)