check return type of contains() and compareTo()
This commit is contained in:
@@ -0,0 +1,7 @@
|
||||
// "Add 'operator' modifier" "false"
|
||||
// ACTION: Convert member to extension
|
||||
// ACTION: Convert to block body
|
||||
// ACTION: Remove explicit type specification
|
||||
class A {
|
||||
fun <caret>contains(other: A): Int = -1
|
||||
}
|
||||
Reference in New Issue
Block a user