-
Notifications
You must be signed in to change notification settings - Fork 10.6k
Closed
Closed
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 itselfcrashBug: A crash, i.e., an abnormal termination of softwareBug: A crash, i.e., an abnormal termination of software
Description
| Previous ID | SR-4059 |
| Radar | None |
| Original Reporter | Logan (JIRA User) |
| Type | Bug |
| Status | Resolved |
| Resolution | Done |
Additional Detail from JIRA
| Votes | 0 |
| Component/s | Compiler |
| Labels | Bug, 3.1Regression, CompilerCrash |
| Assignee | None |
| Priority | Medium |
md5: 918fe3645f29300276cb0a409197574f
Issue Description:
Not sure if that title is the ticket, but here's repro. Runs and builds fine on 3.0.2, crash seg fault on 3.1:
class Base {
init<S: Sequence>(_ s: S) where S.Iterator.Element == UInt8 {
}
}
class Sub: Base {
init(_ b: [UInt8]) {
super.init(b)
}
}
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