Open swift-ci opened 8 years ago
Comment by Bill Abt (JIRA)
Any update on this? Which is correct? The OS X implementation or the Linux implementation? Would like to get this fix into the next public build.
I believe we should have the Linux implementation behave like Darwin.
Environment
OS X 10.11.4, Ubuntu 15.10Additional Detail from JIRA
| | | |------------------|-----------------| |Votes | 2 | |Component/s | Foundation | |Labels | Bug, Linux | |Assignee | None | |Priority | Medium | md5: 038bf2888e67b281907ad63c90829211Issue Description:
This code snippet works on OS X but not on Linux.
The error I'm receiving appears to be correct but this same code works fine on OS X which indicates to me that that initializer on OS X is marked as `required`. Therefore, should the initializer on Linux also be marked as required. Looking at the source, it not currently. Which one is right? If OS X is right (which I hope to be the case), I can prepare a PR with the fix.