add test for obsolete KT-11601
This commit is contained in:
@@ -0,0 +1,9 @@
|
||||
fun x(){
|
||||
val challenges = mutableListOf<() -> Unit>()
|
||||
for (c in challenges) {
|
||||
<caret>c()
|
||||
}
|
||||
}
|
||||
|
||||
// TYPE: c -> <html>() → Unit</html>
|
||||
// TYPE: c() -> <html>Unit</html>
|
||||
Reference in New Issue
Block a user