Skip to content

Commit

Permalink
Sema: Fix access of wrong union member
Browse files Browse the repository at this point in the history
  • Loading branch information
slavapestov committed Oct 24, 2024
1 parent 5190d98 commit a40d4c7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/Sema/CSTrail.cpp
Original file line number Diff line number Diff line change
@@ -688,8 +688,8 @@ void SolverTrail::Change::dump(llvm::raw_ostream &out,

case ChangeKind::RetiredConstraint:
out << "(RetiredConstraint ";
TheConstraint.Constraint->print(out, &cs.getASTContext().SourceMgr,
indent + 2);
Retiree.Constraint->print(out, &cs.getASTContext().SourceMgr,
indent + 2);
out << ")\n";
break;
}

0 comments on commit a40d4c7

Please sign in to comment.