-
Notifications
You must be signed in to change notification settings - Fork 10.3k
New issue
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
[SR-10532] Assertion failed: (conforms != equivClass->conformsTo.end()) #52932
Comments
|
It actually crashes for me on master: @rjmccall, thoughts? |
|
Usually this kind of crash is a problem with the generic signature checking code, in this case probably because of the knot-tying in `ScalarProtocol`. @slavapestov,@DougGregor? |
|
As i known, the Swift 5.0 compiler assume Tensor.Self == Tensor.Scalar but it's not correct. This bugs has being long time ago. If removing the constraint Scalar == Element.Scalar in protocol MapReduceArithmetic, it will work properly. |
Environment
Swift 5
Additional Detail from JIRA
md5: 5b1ae800fe04f78f4be7ad25bcc37128
Issue Description:
The following code shouldn't have any error but swift compiler get it wrong.
The text was updated successfully, but these errors were encountered: