OperatorToFunctionIntention and SwapBinaryExpressionIntention: more narrow availability range + no i18n
This commit is contained in:
@@ -4,5 +4,5 @@ class coffee() {
|
||||
}
|
||||
}
|
||||
fun main() {
|
||||
val f = coffee().<caret>invoke()
|
||||
val f = coffee().invoke<caret>()
|
||||
}
|
||||
+1
-1
@@ -2,5 +2,5 @@
|
||||
// IS_APPLICABLE: false
|
||||
fun foo() {
|
||||
val bar = { x: Int -> x + 1 }
|
||||
val incremented = listOf(1, 2, 3).<caret>map(bar)
|
||||
val incremented = listOf(1, 2, 3).map<caret>(bar)
|
||||
}
|
||||
@@ -1,4 +1,4 @@
|
||||
fun foo() {
|
||||
var a = 5
|
||||
<caret>a--
|
||||
a--<caret>
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user