mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
PR Review
This commit is contained in:
@@ -1406,7 +1406,7 @@ ParsedDeclName swift::parseDeclName(StringRef name) {
|
||||
}
|
||||
|
||||
// If the base name is prefixed by "subscript", it's an subscript.
|
||||
if (baseName.startswith("subscript")) {
|
||||
if (baseName == "subscript") {
|
||||
result.IsSubscript = true;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user