Constraint priorities integrated
This commit is contained in:
committed by
Nikolay Krasko
parent
3cf7a44840
commit
0a2108d4d0
@@ -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)
|
||||
}
|
||||
Reference in New Issue
Block a user