[Swift-devel] source location passthrough

Ben Clifford benc at hawaga.org.uk
Sun Mar 18 19:05:54 CDT 2007


it is bug 40

http://bugzilla.mcs.anl.gov/swift/post_bug.cgi


On Mon, 5 Mar 2007, Mike Wilde wrote:

> 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.
> > 
> 
> 



More information about the Swift-devel mailing list