KT-4980 'Remove braces' intention throws NPE for a for-loop with variable declaration
#KT-4980 fixed
This commit is contained in:
@@ -0,0 +1,5 @@
|
||||
fun foo(a: List<Int>) {
|
||||
for<caret> (x in a) {
|
||||
val y = x
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user