mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-04-30 02:09:59 +07:00
IDEA-122974 expected type suggester should ignore 'null' types
This commit is contained in:
@@ -0,0 +1,9 @@
|
||||
// "Create Local Variable 'str'" "true"
|
||||
public class A {
|
||||
void foo() {
|
||||
String str;
|
||||
String s = str;
|
||||
str = null;
|
||||
}
|
||||
|
||||
}
|
||||
@@ -0,0 +1,8 @@
|
||||
// "Create Local Variable 'str'" "true"
|
||||
public class A {
|
||||
void foo() {
|
||||
String s = s<caret>tr;
|
||||
str = null;
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user