mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-05-01 02:38:59 +07:00
expected types: do not "erase" too much (IDEA-109700)
This commit is contained in:
@@ -0,0 +1,8 @@
|
||||
// "Create Local Variable 'a'" "true"
|
||||
public class A {
|
||||
void foo() {
|
||||
Class<?>[] a = get();
|
||||
}
|
||||
|
||||
Class<?>[] get() {return null;}
|
||||
}
|
||||
@@ -0,0 +1,8 @@
|
||||
// "Create Local Variable 'a'" "true"
|
||||
public class A {
|
||||
void foo() {
|
||||
<caret>a = get();
|
||||
}
|
||||
|
||||
Class<?>[] get() {return null;}
|
||||
}
|
||||
Reference in New Issue
Block a user