[ sisc-Bugs-1458194 ] |load| trashes error locations of top frame

"SourceForge.net" <[email protected]> Sat, 25 Mar 2006 01:30:54 -0800
Newsgroups gmane.comp.java.sisc.devel
Message-ID <[email protected]>
Bugs item #1458194, was opened at 2006-03-25 09:30
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=379534&aid=1458194&group_id=23735

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: None
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Matthias Radestock (mradestock)
Assigned to: Nobody/Anonymous (nobody)
Summary: |load| trashes error locations of top frame

Initial Comment:
Loading a file containing

(define (a) (+ 'a 10))
(define (b) (a))
(define (c) (b))
(c)

produces an error that contains
...
Caused by Error in +: expected type number, got 'a'.
---------------------------
file:/tmp/rade/error-test3.scm:3:17: <from call to load>
file:/tmp/rade/error-test3.scm:2:13: <from call to a>
file:/tmp/rade/error-test3.scm:3:13: <from call to b>
file:/tmp/rade/error-test3.scm:4:1: <from call to c>
...

Note that the call to + has been replaced by a call to
'load', at a non-sensical location.

This is caused by the |load| prim overwriting the
annotations on the nxp of the top call frame.

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=379534&aid=1458194&group_id=23735


-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642