@@ -1299,7 +1299,7 @@ public struct TypeSyntax: TypeSyntaxProtocol, SyntaxHashable {
12991299
13001300 public init ? ( _ node: some SyntaxProtocol ) {
13011301 switch node. raw. kind {
1302- case . arrayType, . attributedType, . classRestrictionType, . compositionType, . dictionaryType, . functionType, . identifierType, . implicitlyUnwrappedOptionalType, . memberType, . metatypeType, . missingType, . namedOpaqueReturnType, . optionalType, . packElementType, . packExpansionType, . someOrAnyType, . suppressedType, . tupleType:
1302+ case . arrayType, . attributedType, . classRestrictionType, . compositionType, . dictionaryType, . editorPlaceholderType , . functionType, . identifierType, . implicitlyUnwrappedOptionalType, . memberType, . metatypeType, . missingType, . namedOpaqueReturnType, . optionalType, . packElementType, . packExpansionType, . someOrAnyType, . suppressedType, . tupleType:
13031303 self . _syntaxNode = node. _syntaxNode
13041304 default :
13051305 return nil
@@ -1329,6 +1329,7 @@ public struct TypeSyntax: TypeSyntaxProtocol, SyntaxHashable {
13291329 . node( ClassRestrictionTypeSyntax . self) ,
13301330 . node( CompositionTypeSyntax . self) ,
13311331 . node( DictionaryTypeSyntax . self) ,
1332+ . node( EditorPlaceholderTypeSyntax . self) ,
13321333 . node( FunctionTypeSyntax . self) ,
13331334 . node( IdentifierTypeSyntax . self) ,
13341335 . node( ImplicitlyUnwrappedOptionalTypeSyntax . self) ,
@@ -1488,6 +1489,7 @@ extension Syntax {
14881489 . node( EditorPlaceholderDeclSyntax . self) ,
14891490 . node( EditorPlaceholderExprSyntax . self) ,
14901491 . node( EditorPlaceholderPatternSyntax . self) ,
1492+ . node( EditorPlaceholderTypeSyntax . self) ,
14911493 . node( EffectsAttributeArgumentListSyntax . self) ,
14921494 . node( EnumCaseDeclSyntax . self) ,
14931495 . node( EnumCaseElementListSyntax . self) ,
0 commit comments