FIR IDE: make ref shortener strictly follow range restriction

This commit is contained in:
Tianyu Geng
2021-06-15 16:32:49 -07:00
committed by TeamCityServer
parent 726d141589
commit 22fbd2044c
4 changed files with 31 additions and 3 deletions
@@ -0,0 +1,8 @@
// FIR_COMPARISON
package foo.bar
class A
fun foo(): <selection>foo.bar.A</selection> {
val a: foo.bar.A = foo.bar.A()
}
@@ -0,0 +1,8 @@
// FIR_COMPARISON
package foo.bar
class A
fun foo(): A {
val a: foo.bar.A = foo.bar.A()
}