[Swift-devel] unitialized error when swift app returning a non-file type

Mihael Hategan hategan at mcs.anl.gov
Mon Apr 1 22:13:06 CDT 2013


On Mon, 2013-04-01 at 21:26 -0500, Ketan Maheshwari wrote:
> I was thinking Swift would take a placeholder for 'r' which would be a
> command line arg and would expect the placeholder be filled with value in
> the app call. However, I agree that in this example it would be counter
> intuitive and perhaps unsuitable.
> 
> Does this mean that a Swift app can only return a file type?

Yes. Though I think there should be a way to re-direct stdout and stderr
to primitives. Perhaps that could work in a similar way we do it with
@filename, so probably close to what you are thinking.





More information about the Swift-devel mailing list