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-2977] materializeForSet not getting synthesized for subscript #45567
Comments
Can you attach the whole project here? |
Comment by Artem Kalinovsky (JIRA) I guess, I can send over link with project at your email. |
Is the concern over attaching it here just size, or privacy as well? If the latter, is it all right to attach it to a Radar? That'll be easier for us to hand it to whoever works on it, but keep it within Apple's bug-tracking system. |
Comment by Darren Mo (JIRA) I have this issue too; I was just about to create a bug report. It only fails to link when Whole Module Optimization is turned on. I tried every workaround I could think of, to no avail. Also couldn’t reproduce in a sample project. Here’s the error message for mine: Undefined symbols for architecture x86_64:
"Swift.UnsafeMutableBufferPointer.(subscript.materializeForSet : (Swift.Int) -> A).(closure #​1)", referenced from:
function signature specialization <Arg[2] = Exploded> of generic specialization <Swift.UnsafeMutableBufferPointer<Swift.String> with Swift.UnsafeMutableBufferPointer<Swift.String> : Swift.MutableCollection in Swift and Swift.UnsafeMutableBufferPointer<Swift.String> : Swift.RandomAccessCollection in Swift> of Swift._siftDown <A where A: Swift.MutableCollection, A: Swift.RandomAccessCollection, A.Iterator.Element: Swift.Comparable> (inout A, index : A.Index, subRange : Swift.Range<A.Index>) -> () in MyFile.o Also, there is a StackOverflow question for this error and a Developer Forum post. |
Comment by Artem Kalinovsky (JIRA) Hi all, @belkadan, I've attached sample project, where I reproduced this issue |
Comment by Artem Kalinovsky (JIRA) fumoboy007 (JIRA User) , thanks for links! |
Comment by Bastiaan Marinus van de Weerd (JIRA) FYI, I ran into this same issue yesterday using Xcode 8.0, and noticed it was resolved using Xcode 8.1 (GM seed, 8T61a). |
Comment by Artem Kalinovsky (JIRA) bm-w (JIRA User) ok, waiting for Xcode 8.1 release... |
Comment by Darren Mo (JIRA) Confirmed, fixed in Xcode 8.1! |
Comment by Bastiaan Marinus van de Weerd (JIRA) Yes, in my case as well. |
Attachment: Download
Environment
Swift 3 and Xcode 8 (AppStore ver.)
Additional Detail from JIRA
md5: b3c8ac5929faf08678674b65a36feb3b
Issue Description:
, where
gives me error during Archive:
The text was updated successfully, but these errors were encountered: