logic fix

This commit is contained in:
Vern Paxson 2023-12-01 14:01:13 -08:00
parent 5bd4da72f9
commit b196d377cf

View file

@ -1030,8 +1030,8 @@ bool CSE_ValidityChecker::CheckRecordConstructor(const TypePtr& t) {
}
bool CSE_ValidityChecker::CheckTableMod(const TypePtr& t) {
if ( ! CheckAggrMod(t) )
return false;
if ( CheckAggrMod(t) )
return true;
if ( t->Tag() != TYPE_TABLE )
return false;