Files
Dmitrii Gridin 17ab005668 [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
2023-10-20 09:27:21 +00:00

17 lines
134 B
Kotlin
Vendored

// DO_NOT_CHECK_NON_PSI_SYMBOL_RESTORE
fun foo() {
}
val b = 42
class C {
fun member() {
}
val prop = foo()
}
foo()