mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-01-06 20:39:40 +07:00
IDEA-70184 Class F cannot be referenced from static context error after Smart Completion invocation
This commit is contained in:
@@ -0,0 +1,13 @@
|
||||
public class Test{
|
||||
|
||||
public class F {}
|
||||
|
||||
public int x(F f) {
|
||||
return 1;
|
||||
}
|
||||
|
||||
public static void main(String[] args) {
|
||||
Test test = new Test();
|
||||
test.x(new F())<caret>;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,13 @@
|
||||
public class Test{
|
||||
|
||||
public class F {}
|
||||
|
||||
public int x(F f) {
|
||||
return 1;
|
||||
}
|
||||
|
||||
public static void main(String[] args) {
|
||||
Test test = new Test();
|
||||
test.x(new <caret>);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user