mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
Reinstate "[SR-511][Parse] Add 'associatedtype' keyword and fixit"
This reverts commit ce7b2bcf09, tweaking
a few validation tests appropriately (1 crasher fixed, two -verify
tests that needed updating).
This commit is contained in:
@@ -394,6 +394,7 @@ static bool matchesExpectedStyle(Completion *completion, NameStyle style) {
|
||||
case CodeCompletionDeclKind::Enum:
|
||||
case CodeCompletionDeclKind::Protocol:
|
||||
case CodeCompletionDeclKind::TypeAlias:
|
||||
case CodeCompletionDeclKind::AssociatedType:
|
||||
return style.possiblyUpperCamelCase();
|
||||
|
||||
case CodeCompletionDeclKind::StaticMethod:
|
||||
|
||||
Reference in New Issue
Block a user