add test for obsolete KT-11601

This commit is contained in:
Dmitry Jemerov
2016-08-26 12:02:04 +02:00
parent 4f1f313b36
commit e8fcd194f9
3 changed files with 16 additions and 0 deletions
+9
View File
@@ -0,0 +1,9 @@
fun x(){
val challenges = mutableListOf<() -> Unit>()
for (c in challenges) {
<caret>c()
}
}
// TYPE: c -> <html>() &rarr; Unit</html>
// TYPE: c() -> <html>Unit</html>