but isn't D supporting mixins inside enums?
Nope. "The text contents of the string must be compilable as a valid StatementList, and is compiled as such."
And enums don't allow statements in their body. -- Simen
but isn't D supporting mixins inside enums?
Nope. "The text contents of the string must be compilable as a valid StatementList, and is compiled as such."
And enums don't allow statements in their body. -- Simen