Support for @enum assignment