mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
Apply diagnostic message suggestion
This commit is contained in:
@@ -2319,7 +2319,6 @@ bool MissingMemberFailure::diagnoseAsError() {
|
||||
diagnostic.highlight(baseExpr->getSourceRange())
|
||||
.highlight(nameLoc.getSourceRange());
|
||||
correction->addFixits(diagnostic);
|
||||
|
||||
} else {
|
||||
auto diagnostic = emitDiagnostic(
|
||||
anchor->getLoc(),
|
||||
|
||||
Reference in New Issue
Block a user