Constraint priorities integrated

This commit is contained in:
Andrey Breslav
2011-12-14 13:12:36 +04:00
committed by Nikolay Krasko
parent 3cf7a44840
commit 0a2108d4d0
16 changed files with 237 additions and 98 deletions
@@ -0,0 +1,9 @@
fun fooT2<T>() : fun(t : T) : T {
return {it}
}
val n : Nothing = null.sure()
fun test() {
<!TYPE_INFERENCE_FAILED!>fooT2()<!>(1)
}