FIR IDE: Enable types shortening for nested classes and nested types

This commit is contained in:
Roman Golyshev
2020-12-21 18:08:21 +03:00
committed by Space
parent b9d074051f
commit e744084c15
8 changed files with 106 additions and 18 deletions
@@ -0,0 +1,8 @@
// FIR_COMPARISON
package test
class T {
class TT
}
<selection>fun foo(t: (test.T) -> test.T.TT) {}</selection>
@@ -0,0 +1,8 @@
// FIR_COMPARISON
package test
class T {
class TT
}
fun foo(t: (T) -> T.TT) {}
@@ -0,0 +1,10 @@
// FIR_COMPARISON
package test
class T {
class TT
}
class Generic<T, TT>
<selection>fun foo(t: test.Generic<test.T, test.T.TT>) {}</selection>
@@ -0,0 +1,10 @@
// FIR_COMPARISON
package test
class T {
class TT
}
class Generic<T, TT>
fun foo(t: Generic<T, T.TT>) {}
@@ -0,0 +1,8 @@
// FIR_COMPARISON
package test
class T {
class TT
}
<selection>fun foo(t: test.T.TT) {}</selection>
@@ -0,0 +1,8 @@
// FIR_COMPARISON
package test
class T {
class TT
}
fun foo(t: T.TT) {}