getField() may return a nullptr, we already did that in BodyIndexer::VisitDesignatedInitExpr, but missed one place.