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 {
823
823
bool coalesceAndDiagnose (const Solution &solution,
824
824
ArrayRef<ConstraintFix *> secondaryFixes,
825
825
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
827
827
// 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
829
829
// a type is not convertible to a placeholder type.
830
830
if (auto fromPlaceholder = getFromType ()->getAs <PlaceholderType>()) {
831
831
if (fromPlaceholder->getOriginator ().is <ErrorExpr *>()) {
You can’t perform that action at this time.
0 commit comments