-
Notifications
You must be signed in to change notification settings - Fork 10.6k
Closed
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 itselfcrashBug: A crash, i.e., an abnormal termination of softwareBug: A crash, i.e., an abnormal termination of software
Description
| Previous ID | SR-1529 |
| Radar | rdar://problem/32254285 |
| Original Reporter | mkbrandt (JIRA User) |
| Type | Bug |
| Status | Closed |
| Resolution | Done |
Attachment: Download
Additional Detail from JIRA
| Votes | 0 |
| Component/s | Compiler |
| Labels | Bug, CompilerCrash |
| Assignee | @slavapestov |
| Priority | Medium |
md5: 3ea915b13d3b06d53f136fd589d81506
is duplicated by:
- SR-1980 Emit multiple vtable entries for overrides that change calling convention
Issue Description:
See enclosed project:
The property "rect" is declared optional in one file, and non-optional in an override in a subclass. This causes the compiler to crash. I realize this is not legal, but it took me a while to track it down since the compiler crashes before showing the error.
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 itselfcrashBug: A crash, i.e., an abnormal termination of softwareBug: A crash, i.e., an abnormal termination of software