Merge remote-tracking branch 'origin/GP-1123_PlaceholderStructCollision'

(Closes #3196)
This commit is contained in:
Ryan Kurtz
2023-02-18 07:36:11 -05:00
4 changed files with 54 additions and 24 deletions
@@ -516,6 +516,9 @@ public class FillOutStructureCmd extends BackgroundCommand {
return null;
}
Structure structDT = VariableUtilities.findOrCreateClassStruct(f);
if (structDT == null) {
return null;
}
// FIXME: How should an existing packed structure be handled? Growing and offset-based placement does not apply
int len = structDT.isZeroLength() ? 0 : structDT.getLength();
if (len < size) {