Open Se8870 opened 2 years ago
array[1] = {1, E_ENUM_TWO};
Also worth noting this line will complain if you're tagging any of the values in the initialization list, saying "expected : but got mytag:" or something to that effect.
From this, I'm guessing the compiler considers this rvalue a : array instead of using the lvalue tag?
EDIT: And TBF I'm wondering if this is really a bug or more of a feature request, but it sure would be nice to have. :-)
This issue has been automatically marked as stale because it has not had recent activity.
Issue description:
Me, Cheaterman, and $Michael$ discussed about pawn and encountered the bug that should not happen when trying to assigning the
enum tag
for global 2d array, since it should work like doing it inside local.Minimal complete verifiable example (MCVE):
Workspace Information: