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 409aa35 commit 7e854efCopy full SHA for 7e854ef
include/swift/Sema/CSFix.h
@@ -2070,6 +2070,10 @@ class AllowRefToInvalidDecl final : public ConstraintFix {
2070
2071
bool diagnose(const Solution &solution, bool asNote = false) const override;
2072
2073
+ bool diagnoseForAmbiguity(CommonFixesArray commonFixes) const override {
2074
+ return diagnose(*commonFixes.front().first);
2075
+ }
2076
+
2077
static AllowRefToInvalidDecl *create(ConstraintSystem &cs,
2078
ConstraintLocator *locator);
2079
};
0 commit comments