You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
swift-ci opened this issue
Jun 17, 2016
· 4 comments
Labels
bugA deviation from expected or documented behavior. Also: expected but undesirable behavior.compilerThe Swift compiler in itselfcrashBug: A crash, i.e., an abnormal termination of software
Output:
<unknown>:0: error: unable to execute command: Segmentation fault: 11
<unknown>:0: error: compile command failed due to signal (use -v to see invocation)
Version:
Apple Swift version 3.0 (swiftlang-800.0.30 clang-800.0.24)
The text was updated successfully, but these errors were encountered:
Now, I don't any longer segmentation fault, but I still can't create an convenience constructor:
error: BadAccessPlayground.playground:13:24: error: convenience initializers are not supported in extensions of CF types
public convenience init(roundedRect rect: CGRect, corner: CGSize) {
Specifically, convenience initializers can be inherited, and your new one can't be in a safe way. The feature we need here is what we call "factory initializers" inside the compiler. (It's not out of the question, either! Just still needs some design.)
bugA deviation from expected or documented behavior. Also: expected but undesirable behavior.compilerThe Swift compiler in itselfcrashBug: A crash, i.e., an abnormal termination of software
Attachment: Download
Additional Detail from JIRA
md5: cd100a3312808a32594e2ea190d24e06
Issue Description:
I get a crash if i try to compile the following code
Output:
<unknown>:0: error: unable to execute command: Segmentation fault: 11
<unknown>:0: error: compile command failed due to signal (use -v to see invocation)
Version:
Apple Swift version 3.0 (swiftlang-800.0.30 clang-800.0.24)
The text was updated successfully, but these errors were encountered: