KTIJ-26423 [AA] Get rid of local declarations in KtFirImportOptimizer

Adjust `computeImportableName` to return null for when passed symbol
is local
This commit is contained in:
Roman Golyshev
2023-10-24 17:29:32 +02:00
committed by teamcity
parent 421793673b
commit 306f404a69
13 changed files with 2 additions and 51 deletions
@@ -1,8 +1,5 @@
USED DECLARATIONS:
Declaration: <local>.b
By names: [b]
Declaration: dependency.Bar
By names: [Bar]
@@ -1,8 +1,5 @@
USED DECLARATIONS:
Declaration: <local>.b
By names: [b]
Declaration: dependency.fooExtProp
By names: [fooExtProp]
@@ -1,8 +1,5 @@
USED DECLARATIONS:
Declaration: <local>.b
By names: [b]
Declaration: dependency.Bar
By names: [Bar]
@@ -1,11 +1,5 @@
USED DECLARATIONS:
Declaration: <local>.<destruct>
By names: [<destruct>]
Declaration: <local>.target
By names: [target]
Declaration: dependency.component1
By names: [component1]
@@ -1,8 +1,5 @@
USED DECLARATIONS:
Declaration: <local>.<destruct>
By names: [<destruct>]
Declaration: dependency.foo
By names: [foo]
@@ -1,8 +1,5 @@
USED DECLARATIONS:
Declaration: <local>.bar
By names: [bar]
Declaration: kotlin.with
By names: [with]
@@ -1,8 +1,5 @@
USED DECLARATIONS:
Declaration: <local>.foo
By names: [foo]
Declaration: kotlin.Int
By names: [Int]
@@ -1,11 +1,5 @@
USED DECLARATIONS:
Declaration: <local>.<destruct>
By names: [<destruct>]
Declaration: <local>.holder
By names: [holder]
Declaration: dependency.Holder
By names: [Holder]
@@ -1,11 +1,5 @@
USED DECLARATIONS:
Declaration: <local>.<destruct>
By names: [<destruct>]
Declaration: <local>.target
By names: [target]
Declaration: dependency.component1
By names: [component1]
@@ -1,11 +1,5 @@
USED DECLARATIONS:
Declaration: <local>.m
By names: [m]
Declaration: <local>.str
By names: [str]
Declaration: dependency.invoke
By names: [str]
@@ -1,11 +1,5 @@
USED DECLARATIONS:
Declaration: <local>.m
By names: [m]
Declaration: <local>.str
By names: [str]
Declaration: dependency.invoke
By names: [invoke]
@@ -1,8 +1,5 @@
USED DECLARATIONS:
Declaration: <local>.foo
By names: [foo]
Declaration: dependency.invoke
By names: [invoke]