Open davecamp opened 1 year ago
This would be nice if this compiled
Enum SomeFlag FlagA = 1 FlagB = 2 FlagC = 4 FlagAll = SomeFlag.FlagA | SomeFlag.FlagB | SomeFlag.FlagC EndEnum
Currently it gives an error 'Compile Error: Cyclic declaration of 'SomeFlag'.' which is fair enough.
And it's not a big deal to work around of course. Just food for thought as the values are only constants.
Feature Request
This would be nice if this compiled
Currently it gives an error 'Compile Error: Cyclic declaration of 'SomeFlag'.' which is fair enough.
And it's not a big deal to work around of course. Just food for thought as the values are only constants.