Fix support for enum literals with undefined values.