File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff 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 *>()) {
You can’t perform that action at this time.
0 commit comments