[Analysis API FIR] KtSymbolContainingDeclarationProvider: support script declarations
This commit also fixes a missing symbol for KtScriptInitializer and some symbol pointers Many tests marked as 'DO_NOT_CHECK_NON_PSI_SYMBOL_RESTORE' due to KtFirFileSymbol#createPointer logic – the pointer can be created only for PSI ^KT-61451 ^KT-61887 ^KT-62626 Fixed ^KT-62693
This commit is contained in:
committed by
Space Team
parent
d689c1a38f
commit
17ab005668
+16
@@ -0,0 +1,16 @@
|
||||
fun foo() = 42
|
||||
val prop = 42
|
||||
|
||||
class Bar {
|
||||
fun member() {
|
||||
|
||||
}
|
||||
|
||||
val memberProperty: String
|
||||
get() {
|
||||
fun b() = "sre"
|
||||
return b()
|
||||
}
|
||||
}
|
||||
|
||||
foo()
|
||||
Reference in New Issue
Block a user