mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-14 18:05:27 +07:00
DfaAssist: track string length
GitOrigin-RevId: e00e205db48b0695c4309300f387649d5fdf2729
This commit is contained in:
committed by
intellij-monorepo-bot
parent
4783b76af9
commit
6e12ae7e93
@@ -924,6 +924,10 @@ public class DfaMemoryStateImpl implements DfaMemoryState {
|
||||
if (constant.getValue() instanceof PsiType) {
|
||||
if (!processGetClass(value, (PsiType)constant.getValue(), false)) return false;
|
||||
}
|
||||
SpecialField field = SpecialField.fromQualifierType(constant.getPsiType());
|
||||
if (field != null) {
|
||||
if (!meetDfType(field.createValue(getFactory(), value), field.fromConstant(constant.getValue()))) return false;
|
||||
}
|
||||
DfType dfType = constant.tryNegate();
|
||||
if (dfType == null) return true;
|
||||
EqClass eqClass = getEqClass(value);
|
||||
|
||||
Reference in New Issue
Block a user