Make "Add operator modifier" an inspection instead of intention

#KT-31533 Fixed
This commit is contained in:
Toshiaki Kameyama
2019-06-05 14:47:52 +09:00
committed by Dmitry Gridin
parent 5123e1f078
commit 4c62788c3e
24 changed files with 105 additions and 105 deletions
@@ -0,0 +1 @@
org.jetbrains.kotlin.idea.inspections.AddOperatorModifierInspection
@@ -1,4 +1,4 @@
// IS_APPLICABLE: false
// PROBLEM: none
class A {
fun <caret>contains(other: A): Int = -1
}
@@ -1,4 +1,4 @@
// IS_APPLICABLE: false
// PROBLEM: none
open class A {
open operator fun plus(a: A) = A()
}
@@ -1,4 +1,4 @@
// IS_APPLICABLE: false
// PROBLEM: none
class A {
}
@@ -1 +0,0 @@
org.jetbrains.kotlin.idea.intentions.AddOperatorModifierIntention