mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-10-02 00:57:59 +07:00
This quick fix is for the INTERFACE_AS_FUNCTION error. ^KTIJ-26890 GitOrigin-RevId: b103a61d16bd755106a08b3da53af96367dd37ba
13 lines
214 B
Plaintext
13 lines
214 B
Plaintext
// "Add 'fun' modifier to 'I'" "true"
|
|
fun interface I {
|
|
fun f()
|
|
}
|
|
|
|
fun foo(i: I) {}
|
|
|
|
fun test() {
|
|
val x = foo {}
|
|
}
|
|
|
|
/* IGNORE_K2 */
|
|
// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddFunModifierFix |