mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
type migration of ConditionalExpressions fixed
This commit is contained in:
@@ -344,6 +344,7 @@ public class TypeMigrationLabeler {
|
||||
}
|
||||
}
|
||||
getTypeEvaluator().setType(new TypeMigrationUsageInfo(expr), migrationType);
|
||||
return;
|
||||
} else if (expr instanceof PsiClassObjectAccessExpression) {
|
||||
if (!TypeConversionUtil.isAssignable(migrationType, expr.getType())) {
|
||||
markFailedConversion(Pair.create(expr.getType(), migrationType), expr);
|
||||
|
||||
Reference in New Issue
Block a user