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
Nov 17, 2018
· 2 comments
Assignees
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
Some Self typed expressions in class methods, in some contexts, produce "Segmentation fault: 11" at compile time. See the attached project - it contains examples that produce the error, as well as very similar examples that do not. The only commonality I see among the error-producing expressions is that they are all of type Self?? and are all in class methods of return type Self or Self?. However, some of non-error-producing expressions also have these properties.
The text was updated successfully, but these errors were encountered:
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
Environment
Xcode 10.1 (10B61)
Swift 4.2
Additional Detail from JIRA
md5: e65caed2176a337c1e42ab21e17dc096
Issue Description:
Some
Self
typed expressions in class methods, in some contexts, produce "Segmentation fault: 11" at compile time. See the attached project - it contains examples that produce the error, as well as very similar examples that do not. The only commonality I see among the error-producing expressions is that they are all of typeSelf??
and are all in class methods of return typeSelf
orSelf?
. However, some of non-error-producing expressions also have these properties.The text was updated successfully, but these errors were encountered: