Added tests that surprisingly passed
This commit is contained in:
@@ -0,0 +1,12 @@
|
||||
interface I<T> {
|
||||
fun foo(t: T): (item: T) -> Unit{}
|
||||
}
|
||||
|
||||
fun f(i: I<String>) {
|
||||
val v = i.foo()
|
||||
v(<caret>)
|
||||
}
|
||||
|
||||
/*
|
||||
Text: (<highlight>item: String</highlight>), Disabled: false, Strikeout: false, Green: true
|
||||
*/
|
||||
Reference in New Issue
Block a user