semantic: Don't strip enums when looking for scopes.