[swift-evolution] Proposal: Allow operators to have parameters with default values

Slava Pestov spestov at apple.com
Sat Nov 4 00:58:25 CDT 2017



> On Nov 3, 2017, at 9:16 PM, Swift via swift-evolution <swift-evolution at swift.org> wrote:
> 
> It’s possible I missed something, but my attempt at implementing it only touched 3 files. One was the actual implementation, another was adapting the diagnostics messages, and the third was the tests. 
> 
> I’m still new to building swift myself, but the tests all passed...
> 
> https://github.com/davedelong/swift/commit/c65c634a59b63add0dc9df1ac8803e9d70bfa697 <https://github.com/davedelong/swift/commit/c65c634a59b63add0dc9df1ac8803e9d70bfa697>
If you’re looking to move forward with this proposal, you should also add a SILGen test, and an executable test too.

Slava
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.swift.org/pipermail/swift-evolution/attachments/20171103/9d5069b0/attachment.html>


More information about the swift-evolution mailing list