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-11579] Compiler error when adding keypath @dynamicMemberLookup to protocol extension #53984
Comments
Works for me on Xcode 11.1 GM, see: https://i.imgur.com/NUOAn03.png |
Comment by Mefodiy Akatov (JIRA) @theblixguy, thank you, I've tried your code and suddenly it started working in playground, but still have you tried inserting that in any Xcode project and compiling it? |
Interesting, I get a crash when I put it in an Xcode project but not in Playgrounds:
|
Comment by Mefodiy Akatov (JIRA) @theblixguy, that's it! I'm getting the same thing all the time in any project |
I think this has already been fixed by @DougGregor's PR: #27127 |
Additional Detail from JIRA
md5: 3fc20d850ccd3dcea6565567feb66ede
Issue Description:
When I am trying to implement
@dynamicMemberLookup
subscript having both protocol requirement and default implementation in extension, compiler produces a segfault 11 and "Command CompileSwift failed with a nonzero exit code".However, in Xcode 11.0 GM Seed it was at least working correctly in playground. In Xcode 11.1 GM Seed (11A1027) it's not working in pg either: just running endlessly. The only way to make it work is to remove default implementation from extension, which in fact is rightly the opposite situation to SR-8077
The text was updated successfully, but these errors were encountered: