Compiler crash with circular reference, redundant conformance requirements #72695
Labels
assertion failure
Bug → crash: An assertion failure
bug
A deviation from expected or documented behavior. Also: expected but undesirable behavior.
compiler
The Swift compiler in itself
crash
Bug: A crash, i.e., an abnormal termination of software
declarations
Feature: declarations
generics
Feature: generic declarations and types
inheritance clauses
Feature → type declarations: Type inheritance clauses
protocol
Feature → type declarations: Protocol declarations
swift 6.0
type checker
Area → compiler: Semantic analysis
typealias
Feature → type declarations: `typealias` declarations
Description
No response
Reproduction
Stack dump
Expected behavior
Not really sure, to be honest. Previous versions of the compiler report a circular reference:
But is it really a circular reference? I'm not so sure.
Environment
Swift version 6.0-dev (LLVM 87789f04c6598f1, Swift 52e8fbc)
Target: x86_64-unknown-linux-gnu
Additional information
Godbolt
The text was updated successfully, but these errors were encountered: