Skip to content

[UseShorthandTypeNames] Parenthesize (each T)? when converting from Optional.#1166

Merged
allevato merged 1 commit intoswiftlang:mainfrom
allevato:optional-sugar-packs
Mar 17, 2026
Merged

[UseShorthandTypeNames] Parenthesize (each T)? when converting from Optional.#1166
allevato merged 1 commit intoswiftlang:mainfrom
allevato:optional-sugar-packs

Conversation

@allevato
Copy link
Member

Like some/any, this is required by the language grammar.

Fixes #1165.

… `Optional`.

Like `some`/`any`, this is required by the language grammar.
@allevato allevato merged commit 286f2fb into swiftlang:main Mar 17, 2026
21 checks passed
@allevato allevato deleted the optional-sugar-packs branch March 17, 2026 12:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Format creates invalid code with parameter pack

2 participants