452d22e14f
In the 'IGNORE_SELF' mode, dangling files don't have their own declarations in providers. As a result, all references there resolve to declarations of the original file. It is conceptually similar to that we had in on-air resolve, however, now it's possible to work with the whole content of the in-memory 'FirFile'. As it can be seen in 'ProjectStructureProvider.kt' (KtFile.danglingFileResolutionMode), the 'IGNORE_SELF' mode is automatically applied for non-physical files with an original file being set. For other scenarios, now there is a new 'analyzeCopy()' function that allows to pass the analysis mode explicitly.
9 lines
128 B
Kotlin
Vendored
9 lines
128 B
Kotlin
Vendored
class Outer {
|
|
val foo: String = "foo"
|
|
|
|
inner class Inner {
|
|
fun test() {
|
|
f<caret>oo
|
|
}
|
|
}
|
|
} |