bscotch / stitch

Tools and apps for GameMaker development: a CLI for pipeline development, a VSCode extension for coding, and more.
Other
119 stars 13 forks source link

Replace `EnumMember` type with signifiers #123

Closed adam-coster closed 1 year ago

adam-coster commented 1 year ago

Currently, EnumMembers behave differently from e.g. properties on struct: While structs are represented by a StructType containing Signifier members, enums are represented by an Enum type completely unlinked from its EnumType members.

For consistency and to resolve some existing issues, EnumMembers should be changed from Type to Signfifier instances.

adam-coster commented 1 year ago

Turns out I was totally wrong about this. Enum members ARE signifiers, they just didn't have their signifiers and parents properly hooked up.