5a511dd635
1) Optimize and refactored code 2) Added support for correct renaming of target identifier to this/it 3) Added support of cases with difficult application targets (like: var x = 1 + 2) 4) Show error hint when refactoring failed for some reason 5) Improved intention applicability checking to eliminate false-positive cases 6) Fixed EA-209577
10 lines
164 B
Kotlin
Vendored
10 lines
164 B
Kotlin
Vendored
// WITH_RUNTIME
|
|
// IS_APPLICABLE: false
|
|
|
|
class MyClass {
|
|
fun foo() {
|
|
val c = 2
|
|
(c.div(2) + 3)<caret>
|
|
c.div(c + 2 + c) + c.div(c)
|
|
}
|
|
} |