code review; add 'operator' also to next() and hasNext(); check toplevel functions
This commit is contained in:
@@ -0,0 +1,5 @@
|
||||
// "Add 'operator' modifier" "true"
|
||||
class A {
|
||||
}
|
||||
|
||||
fun A.<caret>plus(other: A): A = A()
|
||||
@@ -0,0 +1,5 @@
|
||||
// "Add 'operator' modifier" "true"
|
||||
class A {
|
||||
}
|
||||
|
||||
operator fun A.<caret>plus(other: A): A = A()
|
||||
@@ -0,0 +1,7 @@
|
||||
// "Add 'operator' modifier" "false"
|
||||
// ACTION: Convert to block body
|
||||
// ACTION: Remove explicit type specification
|
||||
class A {
|
||||
}
|
||||
|
||||
fun <caret>plus(other: A): A = A()
|
||||
Reference in New Issue
Block a user