[SR-11503] Regression on self-referential generic where clauses in Swift 5.1 #53904
Labels
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
generics
Feature: generic declarations and types
regression
serialization
Area → compiler: Serialization & deserialization
swift 5.1
Environment
macOS 10.14.6 (18G95)
Apple Swift version 5.1 (swiftlang-1100.0.270.13 clang-1100.0.33.7)
Xcode 11 (11A420a)
Additional Detail from JIRA
md5: a10484874437e4d02dc076e577990dae
Issue Description:
In Swift 5.0.1 this declaration compiled successfully:
But in Swift 5.1, it now results in an error:
The text was updated successfully, but these errors were encountered: