Skip to content

Commit

Permalink
Merge pull request swiftlang#77214 from slavapestov/fix-ub
Browse files Browse the repository at this point in the history
Sema: Fix access of wrong union member
  • Loading branch information
bnbarham authored Oct 25, 2024
2 parents 4679187 + a40d4c7 commit 65f7c9e
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
Expand Up @@ -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;
}
Expand Down

0 comments on commit 65f7c9e

Please sign in to comment.