[Swift-devel] Path.parse(path.toString())

Mihael Hategan hategan at mcs.anl.gov
Fri Sep 9 01:31:44 CDT 2011


On Fri, 2011-09-09 at 01:10 -0500, David Kelly wrote:
> It looks like there are a few scripts in the test suite which write structs and seem to be passing.

I suspect they are not staging structs out (just in).

>  Do you happen to have an example script I could add to the suite?

type file;

type struct {
        file b;
        file c;
}

app (struct of) echo() {
        bash "echo bee >1 ; echo see >2" stdout=@filename(of.b)
stderr=@filename(of.c);
}

struct s <simple_mapper;>;

s = echo();

(I'm not sure if this actually works if the bug is fixed, but I know it
doesn't if it isn't. Anyway, you get the idea).




More information about the Swift-devel mailing list