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-7483] Deserialization Failure #50026
Comments
Any special build instructions, or just a normal package manager build? @swift-ci create |
Should build normally with SPM. |
I imagine it's just bad diagnostics on a cross-module reference. The Either module shouldn't be available to the Prelude module. |
Reproduced. I had to first build the old version so that there was a built copy of Either lying around, and then build the new version. We'll keep this bug around for the crash, but @aciidb0mb3r, want one for the package manager to enforce target dependencies through folders? |
(I'm pretty sure we've talked about this before.) |
@stephencelis You might have an implicit dependency cycle: Prelude/IO.swift is importing Either but Either depends on Prelude: https://github.com/pointfreeco/swift-prelude/blob/master/Package.swift#L24 @belkadan This? https://bugs.swift.org/browse/SR-1393 I hope we can fix this soon, it is very bad when it happens 🙁 |
Aha, yep, that was the one I was thinking of. |
Added a diagnostic: #16075 |
Um. Why was this closed when the PR is still open? |
4.2 branch: #16315 |
Check out an upcoming development snapshot to verify that this is fixed! |
@stephencelis, Could you verify if the problem is fixed and if so move the JIRA to "Closed"? |
@stephencelis, Could you verify if the problem is fixed and/or move the JIRA to "Closed"? |
Closing the issue. Feel free to reopen if the issue is not fixed. |
Environment
Xcode 9.3 / Swift 4.1
Additional Detail from JIRA
md5: e4c5953f19d4e73d593105a489bb43b8
relates to:
Issue Description:
These lines crash the compiler pretty hard!
https://github.com/pointfreeco/swift-prelude/compare/either-trap-6
The text was updated successfully, but these errors were encountered: