[SR-11374] crash in libswiftCore.dylib`swift::gatherWrittenGenericArgs: #53775
Labels
bug
A deviation from expected or documented behavior. Also: expected but undesirable behavior.
crash
Bug: A crash, i.e., an abnormal termination of software
run-time crash
Bug → crash: Swift code crashed during execution
runtime
The Swift Runtime
Attachment: Download
Environment
Xcode 10 and Xcode 11 beta6 all have this issue
Additional Detail from JIRA
md5: 1136ea0efdd0cba4ea7dc556fa2a083c
Issue Description:
I try to write code like this:
extension UIView
{ class _Delegate<View> where View: UIView { }
}
extension UITextView
{ class Delegate: UIView._Delegate1<UITextView> { }
}
and it work fine when these two extension in the same file,
but once I move one of them into an new file, it crash in:
when I init a UITextView.Delegate object.
You can try these code in sample Xcode project. I am not sure is it Xcode bug or swift bug
The text was updated successfully, but these errors were encountered: