Test data fixed

This commit is contained in:
Andrey Breslav
2014-06-04 17:24:55 +04:00
parent b4d154bb26
commit 851fbbc937
6 changed files with 9 additions and 7 deletions
@@ -1,6 +1,7 @@
fun f1<T>(<!UNUSED_PARAMETER!>l<!>: <!UNRESOLVED_REFERENCE!>List1<!><T>): T {throw Exception()} // ERROR type here
fun f1<T>(<!UNUSED_PARAMETER!>l<!>: <!UNRESOLVED_REFERENCE!>List2<!><T>): T {throw Exception()} // ERROR type here
fun f1<T>(<!UNUSED_PARAMETER!>c<!>: Collection<T>): T{throw Exception()}
// !DIAGNOSTICS: -CONFLICTING_JVM_DECLARATIONS -UNUSED_PARAMETER
fun f1<T>(l: <!UNRESOLVED_REFERENCE!>List1<!><T>): T {throw Exception()} // ERROR type here
fun f1<T>(l: <!UNRESOLVED_REFERENCE!>List2<!><T>): T {throw Exception()} // ERROR type here
fun f1<T>(c: Collection<T>): T{throw Exception()}
fun test<T>(l: List<T>) {
<!CANNOT_COMPLETE_RESOLVE!>f1<!>(l)