Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
macOS 10.14.6 (18G95)
Apple Swift version 5.1 (swiftlang-1100.0.270.13 clang-1100.0.33.7)
Xcode 11 (11A420a)
md5: a10484874437e4d02dc076e577990dae
Issue Description:
In Swift 5.0.1 this declaration compiled successfully:
protocol Type { associatedtype Element } class GenericType<T: Type> where T.Element == GenericType {} // also fails: class GenericType<T> where T: Type, T.Element == GenericType {} // also fails: class GenericType<T> where T: Type, T.Element: GenericType {}
But in Swift 5.1, it now results in an error:
error: Illegal instruction: 4
The text was updated successfully, but these errors were encountered:
This doesn't crash for me on master and on Xcode 11 GM (I don't have GM2 installed yet, only GM1 aka build 11A419c).
Sorry, something went wrong.
It crashes in merge-modules, which makes sense given some of the changes in Serialization this release.
@swift-ci create
This is overflowing the stack trying to resolve these decls
No branches or pull requests
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: