swiftlang / swift

The Swift Programming Language
https://swift.org
Apache License 2.0
66.87k stars 10.3k forks source link

[SR-3096] swiftc: Segmentation fault: 11 #45686

Closed krzyzanowskim closed 6 years ago

krzyzanowskim commented 7 years ago
Previous ID SR-3096
Radar None
Original Reporter @krzyzanowskim
Type Bug
Status Resolved
Resolution Done
Environment Swift 3.0.1
Additional Detail from JIRA | | | |------------------|-----------------| |Votes | 0 | |Component/s | Compiler | |Labels | Bug, CompilerCrash | |Assignee | None | |Priority | Medium | md5: 830db0b65b32b08295d2d6039bf85b99

Issue Description:

 error: 'Self' is only available in a protocol or as the result of a method in a class; did you mean 'SecureBytes'?
    subscript(position: Self.Index) -> Self._Element {
                                       ^~~~
                                       SecureBytes
belkadan commented 7 years ago

Can you attach the whole file?

slavapestov commented 6 years ago

Likely obsolete.