KTIJ-26713 [AA] Handle FirFunctionTypeParameter in KtFirReferenceShortener

^KTIJ-26713 Fixed
This commit is contained in:
Roman Golyshev
2023-08-21 11:52:35 +02:00
committed by teamcity
parent 830084a678
commit 24a13348c4
5 changed files with 31 additions and 2 deletions
@@ -0,0 +1,9 @@
// FILE: main.kt
package test
fun take(action: (<expr>dependency.Foo</expr>) -> Unit) {}
// FILE: dependency.kt
package dependency
class Foo
@@ -0,0 +1,7 @@
Before shortening: dependency.Foo
with DO_NOT_SHORTEN:
with SHORTEN_IF_ALREADY_IMPORTED:
with SHORTEN_AND_IMPORT:
[type] dependency.Foo
with SHORTEN_AND_STAR_IMPORT:
[type] dependency.Foo