mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
This quick is for the UPPER_BOUND_VIOLATED and UPPER_BOUND_VIOLATED_BASED_ON_JAVA_ANNOTATIONS compiler errors. ^KTIJ-29567 GitOrigin-RevId: b1741545da363c64cc3df770f5ce5443221536d9
8 lines
271 B
Kotlin
8 lines
271 B
Kotlin
// "Add 'E' as upper bound for F" "true"
|
|
|
|
fun <T, U : T> foo() = 1
|
|
|
|
fun <E, F> bar() = foo<E, F<caret>>()
|
|
|
|
// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddGenericUpperBoundFix
|
|
// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddGenericUpperBoundFix |