Rename: Forbid rename of synthetic declaration references

#KT-20241 Fixed
This commit is contained in:
Alexey Sedunov
2018-03-02 14:56:32 +03:00
parent 9761e33110
commit e145a64d50
12 changed files with 102 additions and 0 deletions
@@ -0,0 +1,5 @@
data class XYZ(val x: Int, val y: Int, val z: Int)
fun test() {
val y = XYZ(1, 2, 3)./*rename*/component2()
}