[Swift-devel] source location passthrough

Mike Wilde wilde at mcs.anl.gov
Mon Mar 5 07:28:45 CST 2007


I think that this is a great idea. Can you file it in bugz so we can sketch a 
rough design and estimate its cost in a later release?  0.3 or beyond, likely.

- Mike

Ben Clifford wrote, On 3/5/2007 6:36 AM:
> A bunch of error reporting might be made more useful if we pass the source 
> file location (line, at least) through the various intermediate languages 
> so that errors like this:
> 
> $ swift fmri.swift 
> Swift V 0.0405
> RunID: 8zr1mg5964q90
> Execution failed:
>         java.lang.IndexOutOfBoundsException: Index: 1, Size: 1
> 
> have a bit more context.
> 
> Bit of a hassle to implement, though.
> 

-- 
Mike Wilde
Computation Institute, University of Chicago
Math & Computer Science Division
Argonne National Laboratory
Argonne, IL   60439    USA
tel 630-252-7497 fax 630-252-1997



More information about the Swift-devel mailing list