mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-01-07 13:39:36 +07:00
don't calculate type of method expression which is located on the left side of assignment - assignment is invalid anyway
(EA-77049 - assert: PsiMethodCallExpressionImpl$TypeEvaluator.fun)
This commit is contained in:
@@ -0,0 +1,18 @@
|
||||
class Test {
|
||||
|
||||
public void myMethod()
|
||||
{
|
||||
foo ( <error descr="Variable expected">bar("")</error> = "");
|
||||
}
|
||||
|
||||
private <T> T foo(final T bar) {
|
||||
return null;
|
||||
}
|
||||
private <T> T foo(final String bar) {
|
||||
return null;
|
||||
}
|
||||
|
||||
private <S> S bar(final String s) {
|
||||
return null;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user