[Swift-devel] Can't initialize and map in same var declaration?

Ben Clifford benc at hawaga.org.uk
Thu Feb 5 02:36:00 CST 2009


On Wed, 4 Feb 2009, Michael Wilde wrote:

> I'd like to say:
> 
>   file f <"t.out"> = t(a);
> 
> but instead need to say:
> 
>   file f <"t.out">; f = t(a);
> 
> Should the first form work, or should we document that its not permitted?

It doesn't work; but the ways things are, its a pretty minor change to 
make it work, I think.

-- 




More information about the Swift-devel mailing list