KT-64205 [AA] Adjust defaultCallableShortenStrategy to import only top-level callables
^KT-64205 Fixed
This commit is contained in:
+1
-1
@@ -1,6 +1,6 @@
|
||||
Before shortening: a.b.c.MyClass.Companion.foo()
|
||||
with default settings:
|
||||
[qualifier] a.b.c.MyClass.Companion.foo()
|
||||
[qualifier] a.b.c.MyClass
|
||||
with DO_NOT_SHORTEN:
|
||||
with SHORTEN_IF_ALREADY_IMPORTED:
|
||||
[qualifier] a.b.c.MyClass
|
||||
|
||||
-1
@@ -1,6 +1,5 @@
|
||||
Before shortening: C.K
|
||||
with default settings:
|
||||
[qualifier] C.K
|
||||
with DO_NOT_SHORTEN:
|
||||
with SHORTEN_IF_ALREADY_IMPORTED:
|
||||
with SHORTEN_AND_IMPORT:
|
||||
|
||||
-1
@@ -1,6 +1,5 @@
|
||||
Before shortening: C.foo()
|
||||
with default settings:
|
||||
[qualifier] C.foo()
|
||||
with DO_NOT_SHORTEN:
|
||||
with SHORTEN_IF_ALREADY_IMPORTED:
|
||||
with SHORTEN_AND_IMPORT:
|
||||
|
||||
Vendored
+2
-2
@@ -1,7 +1,7 @@
|
||||
Before shortening: x.y.z.Outer.Inner.VALUE0 > x.y.z.Outer.Inner.VALUE1
|
||||
with default settings:
|
||||
[qualifier] x.y.z.Outer.Inner.VALUE0
|
||||
[qualifier] x.y.z.Outer.Inner.VALUE1
|
||||
[qualifier] x.y.z.Outer
|
||||
[qualifier] x.y.z.Outer
|
||||
with DO_NOT_SHORTEN:
|
||||
with SHORTEN_IF_ALREADY_IMPORTED:
|
||||
with SHORTEN_AND_IMPORT:
|
||||
|
||||
Reference in New Issue
Block a user