Files
openide/java/java-tests/testData/codeInsight/completeStatement/ForSingleStatementInBody_after.java
Tagir Valeev b5838faa84 [java-completion] Complete statement: process loops uniformly; wrap loop body
Fixes IDEA-73881 "Complete Current Statement" incorrectly handles for with non-block loop statement

GitOrigin-RevId: 0e92756e7536f5d939db3f2f0ed42c8e716076c3
2022-04-21 08:05:42 +00:00

6 lines
102 B
Java

class X {{
int[] a = new int[3];
for (int i = 0; i < a.length; ++i) {
a[i] = 1;
}
}}