Move: Report separate conflicts for each property accessor

#KT-13216 Fixed
This commit is contained in:
Alexey Sedunov
2016-08-19 18:16:27 +03:00
parent 9607fd0620
commit 6480118da6
11 changed files with 44 additions and 9 deletions
@@ -0,0 +1,7 @@
package test
private class TempY
var tempY: Int = 0
get() { TempY(); return field }
set(p: Int) { TempY(); field = p }
@@ -0,0 +1,7 @@
package test
private class <caret>TempY
var tempY: Int = 0
get() { TempY(); return field }
set(p: Int) { TempY(); field = p }
@@ -0,0 +1,2 @@
Getter for property tempY uses class TempY which will be inaccessible after move
Setter for property tempY uses class TempY which will be inaccessible after move
@@ -0,0 +1,5 @@
{
"mainFile": "test.kt",
"type": "MOVE_KOTLIN_TOP_LEVEL_DECLARATIONS",
"targetFile": "target.kt"
}
@@ -1,2 +1,2 @@
Property bar uses property foo which will be inaccessible after move
Getter for property bar uses property foo which will be inaccessible after move
Property foo uses property bar which will be inaccessible after move