3947ba57da
We should reanalyze only statements and leave declarations as they are ^KT-61013 Fixed
17 lines
248 B
Kotlin
17 lines
248 B
Kotlin
class ScriptClass {
|
|
val memberProperty = 4
|
|
}
|
|
|
|
fun scriptFunction() = 42
|
|
fun unusedScriptFunction(p: String) = 22
|
|
|
|
scriptFunction()
|
|
|
|
fun foo(i: Int, action: (Int) -> Unit) {
|
|
action(i)
|
|
}
|
|
|
|
<caret>foo(scriptFunction()) {
|
|
scriptFunction()
|
|
}
|