[FIR IDE] Correctly check declarations' modalities in SamResolver
Modality might be null before the declaration itself is resolved to `STATUS` ^KT-52667 Fixed
This commit is contained in:
@@ -0,0 +1,13 @@
|
||||
package foo
|
||||
|
||||
class Arg
|
||||
|
||||
fun interface Foo {
|
||||
fun foo(a: Arg): Arg
|
||||
}
|
||||
|
||||
fun testMe(f: Foo) {}
|
||||
|
||||
fun resolveMe() {
|
||||
testMe { b -> b }
|
||||
}
|
||||
Reference in New Issue
Block a user