mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-05-04 12:17:12 +07:00
[java-highlighting] variable errors migrated; some improvements in incompatible type fixes
Part of IDEA-365344 Create a new Java error highlighter with minimal dependencies (PSI only) GitOrigin-RevId: b8531f50c89b009e852e1fdcc9efce1c29dcf4e1
This commit is contained in:
committed by
intellij-monorepo-bot
parent
8d746a5a24
commit
be747e6461
@@ -0,0 +1,12 @@
|
||||
// "Make 'getData()' return 'int[]'" "true-preview"
|
||||
class Test {
|
||||
public static void main(String[] args) {
|
||||
for (int <caret>arg : getData()) {
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
private static int[] getData() {
|
||||
return new String[]{};
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,12 @@
|
||||
// "Make 'getData()' return 'int[]'" "true-preview"
|
||||
class Test {
|
||||
public static void main(String[] args) {
|
||||
for (int <caret>arg : getData()) {
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
private static String[] getData() {
|
||||
return new String[]{};
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user