mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-08-26 00:11:26 +07:00
treat conditional expressions with new expressions with diamonds inside as poly
EA-76546 - assert: InferenceSessionContainer.treeWalkUp
This commit is contained in:
+15
@@ -0,0 +1,15 @@
|
||||
class FImpl<K> {
|
||||
public FImpl(K k) {
|
||||
}
|
||||
|
||||
public void myMethod() {
|
||||
foo (false ? new FImpl<>(null) : null);
|
||||
}
|
||||
|
||||
private <T> T foo(final T bar) {
|
||||
return null;
|
||||
}
|
||||
private <T> T foo(final String bar) {
|
||||
return null;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user