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
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
$ swift --version
Apple Swift version 5.1.2 (swiftlang-1100.0.278 clang-1100.0.33.9)
Target: x86_64-apple-darwin19.2.0
$ xcodebuild -version
Xcode 11.2.1
Build version 11B500
Additional Detail from JIRA
Votes
1
Component/s
Compiler
Labels
Bug, CompilerCrash
Assignee
None
Priority
Medium
md5: 3a1a978742f96364708bff92cc51695f
duplicates:
SR-8814 GenericSignatureBuilder should re-introduce conformance requirements when adding a superclass requirement
Issue Description:
The following code will reliably crash swiftc with a failure to emit SIL:
It also goes away if the func takes any parameters.
BinaryInteger and [String] are just the random types I pulled out of the air; changing them has no effect.
Hit this in real code when I tried to use an extension to provide implementations for KeyedDecodingContainer. Full crash trace attached. Initial crash info:
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 --version
Apple Swift version 5.1.2 (swiftlang-1100.0.278 clang-1100.0.33.9)
Target: x86_64-apple-darwin19.2.0
$ xcodebuild -version
Xcode 11.2.1
Build version 11B500
Additional Detail from JIRA
md5: 3a1a978742f96364708bff92cc51695f
duplicates:
Issue Description:
The following code will reliably crash
swiftc
with a failure to emit SIL:Notes:
The crash goes away if I change
class
tostruct
.It also goes away if the
func
takes any parameters.BinaryInteger
and[String]
are just the random types I pulled out of the air; changing them has no effect.Hit this in real code when I tried to use an
extension
to provide implementations forKeyedDecodingContainer
. Full crash trace attached. Initial crash info:The text was updated successfully, but these errors were encountered: