O there's your dyn_cast to EnumDecl! Just move that up, please.