Move: Additional test for KT-10553 (private top-level property with default accessors)

This commit is contained in:
Alexey Sedunov
2016-02-03 14:38:50 +03:00
parent 48b538cebf
commit fe8a0ec2bc
7 changed files with 26 additions and 0 deletions
@@ -0,0 +1,4 @@
package a
private val used: Int = 2
val using: Int = used + 1
@@ -0,0 +1,4 @@
package a
private val <caret>used: Int = 2
val using: Int = used + 1
@@ -0,0 +1 @@
Property using uses property used which will be inaccessible after move
@@ -0,0 +1,5 @@
{
"mainFile": "main.kt",
"type": "MOVE_KOTLIN_TOP_LEVEL_DECLARATIONS",
"targetFile": "utils.kt"
}