Files
Tagir Valeev bdc4c6c8c1 [java-intentions] IDEA-331850 Support 'Unroll Loop' intention when there are declarations in a loop
GitOrigin-RevId: 5fa9904997f3eade008dae8278ffc44dd0e9172d
2023-09-18 11:42:55 +00:00

13 lines
211 B
Java

// "Unroll loop" "true-preview"
class X {
void test() {
{
int y = 1 + 1;
System.out.println(y);
}
{
int y = 2 + 1;
System.out.println(y);
}
}
}