OverloadResolutionResult is returned from CallResolver instead of descriptors. This makes more information availbale to the caller (useful for better diagnostics).

This commit is contained in:
Andrey Breslav
2011-12-14 16:51:25 +04:00
committed by Nikolay Krasko
parent 09acc4d0da
commit 683e511cf3
13 changed files with 132 additions and 123 deletions
@@ -1,9 +1,9 @@
fun fooT2<T>() : fun(t : T) : T {
return {it}
fun fooT22<T>() : T? {
return null
}
fun foo1() {
<!TYPE_INFERENCE_FAILED!>fooT22()<!>
}
val n : Nothing = null.sure()
fun test() {
<!TYPE_INFERENCE_FAILED!>fooT2()<!>(1)
}