Closed
Description
Previous ID | SR-2887 |
Radar | None |
Original Reporter | TadeasKriz (JIRA User) |
Type | Bug |
Status | Resolved |
Resolution | Done |
Environment
macOS 10.12
Xcode 8.0 (8A218a)
Additional Detail from JIRA
Votes | 0 |
Component/s | Compiler |
Labels | Bug, CompilerCrash, TypeChecker |
Assignee | @slavapestov |
Priority | Medium |
md5: b472bb38b280b09607f3954284081b38
is duplicated by:
- SR-3323 Compiler segmentation fault 11 when insert in array of tuples
- SR-3098 Assertion failed: (!SpecialDests && "shuffle nested within varargs expansion?")
Issue Description:
The following Swift 3.0 ends with Segmentation fault 11.
let data = (a: "", b: 0)
func f(a: String, b: Int) { }
func run<T>(data: T, f: (T) -> ()) { }
run(data: data, f: f)
The problem seems to be in the names of parameters in the `data` tuple. If removed and the tuple is just {code:none}("", 0)