[SR-14118] Inheriting from a type whose init is generically overloaded crashes the compiler #56499
Labels
bug
A deviation from expected or documented behavior. Also: expected but undesirable behavior.
compiler
The Swift compiler in itself
type checker
Area → compiler: Semantic analysis
Additional Detail from JIRA
md5: 5b0014e02c8f789ec7a08a9c1acc13e4
Issue Description:
In the following code,
B
inherits fromA
, whileA
'sinit
is overloaded to handle the case where the genericE
type parameter isIdentifiable
.This results in
swiftc
crashing:The text was updated successfully, but these errors were encountered: