mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-10-01 06:51:17 +07:00
7 lines
220 B
Kotlin
7 lines
220 B
Kotlin
// "class org.jetbrains.kotlin.idea.quickfix.AddGenericUpperBoundFix" "false"
|
|
// ERROR: Type argument is not within its bounds: should be subtype of 'Any'
|
|
|
|
fun <T : Any> foo() = 1
|
|
|
|
fun <E : Any?> bar() = foo<E<caret>>()
|