fix issue 10561 - anon enum members no longer have enum base type