mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
^KTIJ-23892 Fixed Review: https://jetbrains.team/p/ij/reviews/100206 I can afford to use `FrontendInternals` API because this API is already used in this intention GitOrigin-RevId: 5a24ea37951f679a01bc134a88b69313ca868b3a
8 lines
200 B
Kotlin
8 lines
200 B
Kotlin
// COMPILER_ARGUMENTS: -XXLanguage:-ReferencesToSyntheticJavaProperties
|
|
// IS_APPLICABLE: false
|
|
fun main() {
|
|
suppressUnused(Foo::<caret>getFoo)
|
|
}
|
|
|
|
fun suppressUnused(foo: (Foo) -> Int): Any = foo
|