Skip to content

Commit 1d45d97

Browse files
committed
fix typo in Sema
1 parent dea09e1 commit 1d45d97

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

include/swift/Sema/CSFix.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -823,9 +823,9 @@ class ContextualMismatch : public ConstraintFix {
823823
bool coalesceAndDiagnose(const Solution &solution,
824824
ArrayRef<ConstraintFix *> secondaryFixes,
825825
bool asNote = false) const override {
826-
// If the from type or to type is a placeholer type that corresponds to an
826+
// If the from type or to type is a placeholder type that corresponds to an
827827
// ErrorExpr, the issue has already been diagnosed. There's no need to
828-
// produce another diagnostic for the contextual mismatch complainting that
828+
// produce another diagnostic for the contextual mismatch complaining that
829829
// a type is not convertible to a placeholder type.
830830
if (auto fromPlaceholder = getFromType()->getAs<PlaceholderType>()) {
831831
if (fromPlaceholder->getOriginator().is<ErrorExpr *>()) {

0 commit comments

Comments
 (0)