Files
kotlin-fork/analysis/low-level-api-fir/testdata/inBlockModification/codeFragments/localFunction.fragment.kt
T
Yan Zhulanow 9514f8f873 [LL API] Fix analysis of functions inside code fragments
FirDeclarationsResolveTransformer.transformSimpleFunction() performs
proper local function analysis only if the parent is properly set.

^KTIJ-26608 Fixed
2023-09-12 13:08:49 +00:00

7 lines
82 B
Kotlin

fun foo(a: Int, b: String) {}
fun bar() {
<expr>foo(1, "foo")</expr>
}
bar()