[Swift-devel] Feature proposal: struct constructors

Justin M Wozniak wozniak at mcs.anl.gov
Wed Feb 4 11:22:40 CST 2015


On 02/04/2015 11:14 AM, Tim Armstrong wrote:
> With the expression syntax plus automatic variable declaration, it's 
> actually possible to shorten:
>
> to:
>
> bar = foo(1,2);

I forgot about that!

-- 
Justin M Wozniak




More information about the Swift-devel mailing list