Fix bug in ShortenReferences visitor (do not skip PSI elements after modication)

This commit is contained in:
Alexey Sedunov
2014-04-17 13:26:47 +04:00
parent 95b4ec2058
commit cceaa3b66f
4 changed files with 42 additions and 1 deletions
+16
View File
@@ -0,0 +1,16 @@
package p.q
<selection>fun foo(): Int {
p.q.MyClass.foo()
return p.q.MyClass.coProp + 10
}</selection>
class MyClass {
class object {
val coProp = 1
fun foo() {
}
}
}