Fix tests: "infix modifier required" and "operator modifier required" errors
This commit is contained in:
Vendored
+1
-1
@@ -1,7 +1,7 @@
|
||||
// INTENTION_TEXT: Replace with '+' operator
|
||||
fun test() {
|
||||
class Test {
|
||||
fun unaryPlus(): Test = Test()
|
||||
operator fun unaryPlus(): Test = Test()
|
||||
}
|
||||
val test = Test()
|
||||
+test
|
||||
|
||||
Reference in New Issue
Block a user