b5229b8b3d
#KT-742 fixed #KT-832 fixed #KT-943 fixed
9 lines
186 B
Kotlin
9 lines
186 B
Kotlin
package a
|
|
|
|
fun fooT2<T>() : (t : T) -> T {
|
|
return {it}
|
|
}
|
|
|
|
fun test() {
|
|
<!TYPE_INFERENCE_NO_INFORMATION_FOR_PARAMETER!>fooT2<!>()(1) // here 1 should not be marked with an error
|
|
} |