-
Notifications
You must be signed in to change notification settings - Fork 10.5k
Open
0 / 30 of 3 issues completedOpen
0 / 30 of 3 issues completed
Copy link
Labels
bugA deviation from expected or documented behavior. Also: expected but undesirable behavior.A deviation from expected or documented behavior. Also: expected but undesirable behavior.compilerThe Swift compiler itselfThe Swift compiler itself
Description
Previous ID | SR-14407 |
Radar | rdar://problem/75914560 |
Original Reporter | @typesanitizer |
Type | Bug |
Additional Detail from JIRA
Votes | 1 |
Component/s | Compiler |
Labels | Bug |
Assignee | None |
Priority | Medium |
md5: 1f5bf4ce7efa520109e613cc3c512109
Sub-Tasks:
- SR-13770 Optional "?" sugar for nested types works within functions but not outside
- SR-13838
S?
is not regarded asOptional<S>
in "case" expression.
Issue Description:
In certain cases, the compiler has different behavior when a sugared type such as T?
is used instead of the desugared type Optional<T>
. This Jira is for tracking different issues related to the same failure mode.
Sub-issues
Metadata
Metadata
Assignees
Labels
bugA deviation from expected or documented behavior. Also: expected but undesirable behavior.A deviation from expected or documented behavior. Also: expected but undesirable behavior.compilerThe Swift compiler itselfThe Swift compiler itself