Skip to content

Commit ca121c9

Browse files
---
yaml --- r: 315261 b: refs/heads/master-next c: 6d40a96 h: refs/heads/master i: 315259: a9927d8
1 parent 35ffc43 commit ca121c9

File tree

2 files changed

+9
-9
lines changed

2 files changed

+9
-9
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
refs/heads/master: 3fe9333052029c114ef816ea805c335eb1ee8a99
3-
refs/heads/master-next: 80c20a4dd3125f3f2f8a79fb6a1fb92ee7fda673
3+
refs/heads/master-next: 6d40a96c0a96c9691a9b39bfa1fcc6e219ce8079
44
refs/tags/osx-passed: b6b74147ef8a386f532cf9357a1bde006e552c54
55
refs/tags/swift-2.2-SNAPSHOT-2015-12-01-a: 6bb18e013c2284f2b45f5f84f2df2887dc0f7dea
66
refs/tags/swift-2.2-SNAPSHOT-2015-12-01-b: 66d897bfcf64a82cb9a87f5e663d889189d06d07

branches/master-next/lib/Sema/CSDiagnostics.cpp

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -2312,20 +2312,20 @@ bool MissingMemberFailure::diagnoseAsError() {
23122312
if (auto correction = corrections.claimUniqueCorrection()) {
23132313
if (getLocator()->isForKeyPathDynamicMemberLookup()) {
23142314
auto diagnostic = emitDiagnostic(
2315-
anchor->getLoc(),
2316-
diag::could_not_find_value_dynamic_member_corrected,
2317-
baseExprType, baseType, getName(),
2318-
correction->CorrectedName);
2315+
anchor->getLoc(),
2316+
diag::could_not_find_value_dynamic_member_corrected,
2317+
baseExprType, baseType, getName(),
2318+
correction->CorrectedName);
23192319
diagnostic.highlight(baseExpr->getSourceRange())
23202320
.highlight(nameLoc.getSourceRange());
23212321
correction->addFixits(diagnostic);
23222322

23232323
} else {
23242324
auto diagnostic = emitDiagnostic(
2325-
anchor->getLoc(),
2326-
diag::could_not_find_value_member_corrected,
2327-
baseType, getName(),
2328-
correction->CorrectedName);
2325+
anchor->getLoc(),
2326+
diag::could_not_find_value_member_corrected,
2327+
baseType, getName(),
2328+
correction->CorrectedName);
23292329
diagnostic.highlight(baseExpr->getSourceRange())
23302330
.highlight(nameLoc.getSourceRange());
23312331
correction->addFixits(diagnostic);

0 commit comments

Comments
 (0)