I have a question about defining enum. I noticed that enum member’s name cannot be reused in different enum, example as shown below:
julia> @enum FRUIT apple orange julia> @enum COLOR red blue yellow orange ERROR: invalid redefinition of constant orange Stacktrace:  top-level scope at none:0
seems that all enum members will be registered as a constant in same scope, so that member cannot be repeated across all enum, is it an expected behaviour?
Actually, I think orange::COLOR and orange::FRUIT should be both valid.