test fixes after refactorings

expected return type for function literal cannot depend on expected type of outer function
This commit is contained in:
Svetlana Isakova
2013-02-07 16:35:39 +04:00
parent ee0628e862
commit db91928984
2 changed files with 4 additions and 4 deletions
@@ -9,5 +9,5 @@ fun test() {
val <!UNUSED_VARIABLE!>x<!> = g { Collections.<!TYPE_INFERENCE_NO_INFORMATION_FOR_PARAMETER!>emptyList<!>() }
val <!UNUSED_VARIABLE!>y<!> = g<Int> { Collections.emptyList() }
val <!UNUSED_VARIABLE!>z<!> : List<Int> = g { Collections.emptyList() }
val <!UNUSED_VARIABLE!>z<!> : List<Int> = g { Collections.<!TYPE_INFERENCE_NO_INFORMATION_FOR_PARAMETER!>emptyList<!>() }
}