mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-04-30 18:28:55 +07:00
expected type by prefix expression should be calculated by parent (IDEA-166819)
This commit is contained in:
@@ -0,0 +1,10 @@
|
||||
// "Create method 'f'" "true"
|
||||
class A {
|
||||
{
|
||||
double d = -f();
|
||||
}
|
||||
|
||||
private double f() {
|
||||
return 0;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,10 @@
|
||||
// "Create method 'f'" "true"
|
||||
class A {
|
||||
{
|
||||
-f();
|
||||
}
|
||||
|
||||
private int f() {
|
||||
return 0;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
// "Create method 'f'" "true"
|
||||
class A {
|
||||
{
|
||||
double d = -f<caret>();
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
// "Create method 'f'" "true"
|
||||
class A {
|
||||
{
|
||||
-f<caret>();
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user