Files
Pavel V. Talanov b0bd380140 Update existing test data depending on diagnostic parameter rendering
GitOrigin-RevId: 5e5959b9b152260f971acd44a4cf6109965ba2f4
2016-02-26 14:45:11 +03:00

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>>()