semantic: Implement CTFE evaluation of simple enum lookups.