Introduce FIR resolution API with lazy resolve to use in IDE
Now lazy resolve atomic element is a file (declaration-level resolve) or a callable declaration (expression-level resolve) #KT-24351 In Progress
This commit is contained in:
@@ -0,0 +1,3 @@
|
||||
package root
|
||||
|
||||
fun foo() = <caret>myProperty
|
||||
@@ -0,0 +1,4 @@
|
||||
FILE: main.kt
|
||||
public final fun foo(): R|kotlin/Int| {
|
||||
^foo R|root/myProperty|
|
||||
}
|
||||
@@ -0,0 +1,3 @@
|
||||
package root
|
||||
|
||||
val myProperty get() = 42
|
||||
@@ -0,0 +1,5 @@
|
||||
FILE: myProperty.kt
|
||||
public final val myProperty: R|kotlin/Int|
|
||||
public get(): R|kotlin/Int| {
|
||||
^ Int(42)
|
||||
}
|
||||
@@ -0,0 +1 @@
|
||||
R|root/myProperty|
|
||||
@@ -0,0 +1,3 @@
|
||||
{
|
||||
"mainFile": "main.kt"
|
||||
}
|
||||
Reference in New Issue
Block a user