Files
kotlin-fork/compiler/testData/diagnostics/tests/regressions/WrongTraceInCallResolver.kt
T
Andrey Breslav 3d8d92c7d3 JetDiagnosticsTest migrated to TestGenerator
- test data files renamed from *.jet to *.kt
2012-07-10 14:48:11 +04:00

10 lines
219 B
Kotlin
Vendored

open class Foo {}
open class Bar {}
fun <T : Bar, T1> foo(<!UNUSED_PARAMETER!>x<!> : Int) {}
fun <T1, T : Foo> foo(<!UNUSED_PARAMETER!>x<!> : Long) {}
fun f(): Unit {
foo<<!UPPER_BOUND_VIOLATED!>Int<!>, Int>(1)
}