Extract ConeClassifierLookupTag (aka SearchSymbol)

So, for classifiers there are both Symbols and LookupTags
The difference between them is that the former are assumed to have
a reference to the actual FirDeclaration while LookupTags
effectively contain only classId and
something informative may only be obtained by FirSession

#KT-24075 Fixed
This commit is contained in:
Denis Zharkov
2019-03-05 18:15:45 +03:00
committed by Mikhail Glukhikh
parent 6b5ba272a0
commit 2dbe96c853
39 changed files with 304 additions and 216 deletions
@@ -13,7 +13,6 @@ actual open class A : X(), Y {
class C : B() {
fun test() {
foo()
// This and next cannot be resolved yet due to lack of search symbols / projections
bar()
baz()
}
+2 -2
View File
@@ -23,8 +23,8 @@ FILE: jvm.kt
public final function test(): R|kotlin/Unit| {
R|/A.foo|()
<Unresolved name: bar>#()
<Unresolved name: baz>#()
R|/X.bar|()
R|/Y.baz|()
}
}