I’m trying to build a macro which takes an enumeration as an input, and does a switch on it during its flow.
However, as soon as I use a macro that does any operation with an enum, it fails to compile.
The operation will be flagged as an error, indicating that the name of the enum is invalid, and that an unsigned byte is expected instead. (Default value ‘Forward’ for Selection is invalid: ‘Expected a valid unsigned number for a byte property.’)
See the attached screenshots with a simple example.
Looks like a bug. Is there some way to get around it?
Note that I’m still on 4.2.1.