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
Jul 17, 2018
· 1 comment
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
The crash can be resolved either by changing the protocol definition to require `class` instead of a specific class type, or by changing the trigger method argument type to `SuperClass & Crashable`.
The text was updated successfully, but these errors were encountered:
Superclass constraints on protocols aren't really supported yet; we just failed to ban them in Swift 4.1 and 4.2. @slavapestov, is this case covered by your recent work?
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
Swift 4.1 and Xcode 9
or
Swift 4.2 and Xcode 10
Additional Detail from JIRA
md5: 183301533c6e47f0697a51f2e8ae01c7
Issue Description:
Running the following snippet in an Xcode Playground will crash at runtime for both Swift 4.1 and 4.2:
The crash can be resolved either by changing the protocol definition to require `class` instead of a specific class type, or by changing the trigger method argument type to `SuperClass & Crashable`.
The text was updated successfully, but these errors were encountered: