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
The assertion only occurs in the presence of both the recursive associated type constraint and the conformance of one of the protocols to CaseIterable; removing one of the where clauses or the CaseIterable conformance causes the assertion to go away. Assertion trace with latest 5.5 nightly as of this submission:
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
Environment
Swift version 5.5-dev (LLVM 87bb245cc153aaf, Swift 18a849e)
Target: x86_64-unknown-linux-gnu
Additional Detail from JIRA
md5: 94ac825d416e1a6a2cc1e1c6a81108c6
Issue Description:
The following code causes an assertion failure in 5.4 and the latest 5.5 and main nightlies:
The assertion only occurs in the presence of both the recursive associated type constraint and the conformance of one of the protocols to
CaseIterable
; removing one of thewhere
clauses or theCaseIterable
conformance causes the assertion to go away. Assertion trace with latest 5.5 nightly as of this submission:The text was updated successfully, but these errors were encountered: