mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
IDEADEV-40901
This commit is contained in:
@@ -672,6 +672,7 @@ public class TypeConversionUtil {
|
||||
|
||||
if (left instanceof PsiArrayType) return false;
|
||||
if (right instanceof PsiPrimitiveType) {
|
||||
if (isVoidType(right)) return false;
|
||||
if (!(left instanceof PsiPrimitiveType)) {
|
||||
return left instanceof PsiClassType && isBoxable((PsiClassType)left, (PsiPrimitiveType)right);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user