[Swift-user] Compile Error
Mihael Hategan
hategan at mcs.anl.gov
Tue Jun 22 15:35:17 CDT 2010
If it failed at compile time then it doesn't matter.
On Tue, 2010-06-22 at 15:32 -0500, Jonathan Monette wrote:
> Also, the script was run on my macbook as localhost. Was not run using
> coasters or anything of that sort.
>
> On 6/22/10 3:13 PM, Mihael Hategan wrote:
> > I may have sent this before, but I think it's useful reading. Don't take
> > it as meant to be patronizing. It's meant to clarify the perspective of
> > the other end of a bug report.
> >
> > http://www.chiark.greenend.org.uk/~sgtatham/bugs.html
> >
> >
> > On Tue, 2010-06-22 at 15:04 -0500, Mihael Hategan wrote:
> >
> >> I thought I replied to it, but is seems not.
> >>
> >> Yes, please post the exact script.
> >>
> >> Mihael
> >>
> >> On Tue, 2010-06-22 at 15:00 -0500, Michael Wilde wrote:
> >>
> >>> Jon, can you try to re-create this problem in a simple Swift script?
> >>>
> >>> If so, Mihael, can you take a look and see if its a Swift error, and/or how to work around it?
> >>>
> >>> Thanks,
> >>>
> >>> Mike
> >>>
> >>> ----- "Jonathan Monette"<jon.monette at gmail.com> wrote:
> >>>
> >>>
> >>>> Hello,
> >>>> I am getting a compile error and not sure how to fix it.
> >>>>
> >>>> Could not start execution.
> >>>> Compile error in foreach statement at line 81: Type
> >>>> DiffStruct is not defined.
> >>>>
> >>>> I understand the error but I have defined DiffStruct at the top
> >>>> of
> >>>> the file.
> >>>> type DiffStruct
> >>>> {
> >>>> int cntl1;
> >>>> int cntl2;
> >>>> Image plus;
> >>>> Image minus;
> >>>> Image diff;
> >>>> }
> >>>>
> >>>> I have also declared Image as a type. Using Image gives me no
> >>>> problems. The line that the error comes on is:
> >>>>
> >>>> foreach diff_entry, i in diffs
> >>>>
> >>>> where diffs is an array of DiffStruct that was created using the
> >>>>
> >>>> csv_mapper. Does anyone know what the problem is? Thanks in
> >>>> advance.
> >>>>
> >>>> --
> >>>> Jon
> >>>>
> >>>> Computers are incredibly fast, accurate, and stupid. Human beings are
> >>>> incredibly slow, inaccurate, and brilliant. Together they are powerful
> >>>> beyond imagination.
> >>>> - Albert Einstein
> >>>>
> >>>> _______________________________________________
> >>>> Swift-user mailing list
> >>>> Swift-user at ci.uchicago.edu
> >>>> http://mail.ci.uchicago.edu/mailman/listinfo/swift-user
> >>>>
> >>>
> >>
> >> _______________________________________________
> >> Swift-user mailing list
> >> Swift-user at ci.uchicago.edu
> >> http://mail.ci.uchicago.edu/mailman/listinfo/swift-user
> >>
> >
> > _______________________________________________
> > Swift-user mailing list
> > Swift-user at ci.uchicago.edu
> > http://mail.ci.uchicago.edu/mailman/listinfo/swift-user
> >
> >
>
More information about the Swift-user
mailing list