TYPE_INFERENCE_FAILED changed in tests

to concrete type inference error
This commit is contained in:
Svetlana Isakova
2012-07-10 15:12:52 +04:00
parent f2e8f8c9c5
commit 3739301566
6 changed files with 14 additions and 16 deletions
@@ -1,11 +1,10 @@
// Fixpoint generic in Java: Enum<T extends Enum<T>>
fun test(<!UNUSED_PARAMETER!>a<!> : annotation.RetentionPolicy) {
}
fun test() {
java.util.Collections.<!TYPE_INFERENCE_FAILED!>emptyList()<!>
java.util.Collections.<!TYPE_INFERENCE_NO_INFORMATION_FOR_PARAMETER!>emptyList<!>()
val <!UNUSED_VARIABLE!>a<!> : java.util.Collection<String>? = java.util.Collections.emptyList()
}
@@ -19,4 +18,4 @@ fun test(<!UNUSED_PARAMETER!>a<!> : java.util.ArrayList<Int>) {
fun test(<!UNUSED_PARAMETER!>a<!> : java.lang.Class<Int>) {
}
}