Added tests that surprisingly passed

This commit is contained in:
Valentin Kipyatkov
2016-09-14 21:49:37 +03:00
parent a62a37f6d8
commit 1f9e00b23f
3 changed files with 34 additions and 0 deletions
@@ -0,0 +1,10 @@
fun <T> T.foo(): (item: T) -> Unit{}
fun f() {
val v = "a".foo()
v(<caret>)
}
/*
Text: (<highlight>item: String</highlight>), Disabled: false, Strikeout: false, Green: true
*/