Skip to content

Commit 65f7c9e

Browse files
authored
Merge pull request swiftlang#77214 from slavapestov/fix-ub
Sema: Fix access of wrong union member
2 parents 4679187 + a40d4c7 commit 65f7c9e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/Sema/CSTrail.cpp

+2-2
Original file line numberDiff line numberDiff line change
@@ -688,8 +688,8 @@ void SolverTrail::Change::dump(llvm::raw_ostream &out,
688688

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

0 commit comments

Comments
 (0)