You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Re-model type specifiers and allow multiple specifiers on a type
The previous design of having a single specifier on an `AttributedTypeSyntax` no longer sufficied because a function paramter type can have multiple specifiers, such as `borrowing _const String`. Re-design the way type specifiers are represented by introducing type nodes for every specifier kind: `ConstTypeSyntax` for `_const`, `IsolatedTypeSyntax` for `isolated`, `LifetimeDependenceParameterSyntax` for `_copy(parameterName)` etc., `LifetimeDependenceTypeSyntax` for `inout`, `__shared` etc., and `ResultDependsOnTypeSyntax` for `_resultDependsOn`.
rdar://118125715
Copy file name to clipboardExpand all lines: Release Notes/511.md
+4
Original file line number
Diff line number
Diff line change
@@ -60,6 +60,10 @@
60
60
-`EditorPlaceholderDeclSyntax` and `EditorPlaceholderExprSyntax`:
61
61
- Description: `EditorPlaceholderDeclSyntax` and `EditorPlaceholderExprSyntax` are now deprecated and placeholders are instead parsed as identifiers within a `MissingDeclSyntax` or `DeclReferenceExprSyntax`.
- Description: The previous design of having a single specifier on an `AttributedTypeSyntax` no longer sufficied because a function paramter type can have multiple specifiers, such as `borrowing _const String`. Re-design the way type specifiers are represented by introducing type nodes for every specifier kind: `ConstTypeSyntax` for `_const`, `IsolatedTypeSyntax` for `isolated`, `LifetimeDependenceParameterSyntax` for `_copy(parameterName)` etc., `LifetimeDependenceTypeSyntax` for `inout`, `__shared` etc., and `ResultDependsOnTypeSyntax` for `_resultDependsOn`.
0 commit comments