KT_887 fix. jet.Comparable mapped to j.l.Comparable
This commit is contained in:
@@ -0,0 +1,5 @@
|
||||
class Book(val name: String) : Comparable<Book> {
|
||||
override fun compareTo(other: Book) = name.compareTo(other.name)
|
||||
}
|
||||
|
||||
fun box() = if(Book("239").compareTo(Book("932")) != 0) "OK" else "fail"
|
||||
Reference in New Issue
Block a user