Files
kotlin-fork/analysis/low-level-api-fir/testdata/lazyResolve/lambdaAsSAMInterface.kt
T
Roman Golyshev 8fca9f41eb [FIR IDE] Correctly check declarations' modalities in SamResolver
Modality might be null before the declaration itself is resolved to
`STATUS`

^KT-52667 Fixed
2022-06-07 21:14:24 +00:00

13 lines
136 B
Kotlin

package foo
class Arg
fun interface Foo {
fun foo(a: Arg): Arg
}
fun testMe(f: Foo) {}
fun resolveMe() {
testMe { b -> b }
}