Refactoring: make "replace call with binary operator" an inspection
This commit is contained in:
Vendored
+8
@@ -0,0 +1,8 @@
|
||||
// FIX: Replace with '+' operator
|
||||
fun test() {
|
||||
class Test {
|
||||
operator fun plus(a: Int): Test = Test()
|
||||
}
|
||||
val test = Test()
|
||||
test.pl<caret>us(1)
|
||||
}
|
||||
Reference in New Issue
Block a user