mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-02 00:35:33 +07:00
Fixes IDEA-376103 Inline method returning 'null' into for-each iterable parameter makes code incompilable GitOrigin-RevId: 6216652a66ebe3e12285803b4370405be5d5f353
11 lines
164 B
Java
11 lines
164 B
Java
public class InlineNullInForEach {
|
|
int[] data() {
|
|
return null;
|
|
}
|
|
|
|
void test() {
|
|
for (int i : d<caret>ata()) {
|
|
System.out.println(i);
|
|
}
|
|
}
|
|
} |