We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7d09b30 commit a6755f1Copy full SHA for a6755f1
include/swift/Sema/CSFix.h
@@ -2308,6 +2308,10 @@ class SpecifyClosureParameterType final : public ConstraintFix {
2308
2309
bool diagnose(const Solution &solution, bool asNote = false) const override;
2310
2311
+ bool diagnoseForAmbiguity(CommonFixesArray commonFixes) const override {
2312
+ return diagnose(*commonFixes.front().first);
2313
+ }
2314
+
2315
static SpecifyClosureParameterType *create(ConstraintSystem &cs,
2316
ConstraintLocator *locator);
2317
0 commit comments