Skip to content

Commit d35cbee

Browse files
committed
Fix a comment for spell check of available
1 parent 543ddbc commit d35cbee

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

lib/Parse/ParseDecl.cpp

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1762,8 +1762,7 @@ bool Parser::parseDeclAttribute(DeclAttributes &Attributes, SourceLoc AtLoc) {
17621762
}
17631763
};
17641764

1765-
// FIXME: This renaming happened before Swift 3, we can probably remove
1766-
// the specific fallback path at some point.
1765+
// Check if attr is availability, and suggest available instead
17671766
checkInvalidAttrName("availability", "available", DAK_Available, diag::attr_renamed);
17681767

17691768
// Check if attr is inlineable, and suggest inlinable instead

0 commit comments

Comments
 (0)