Download Firefox: WindowsMac OS X
logo       
Google Custom Search
    AddThis Social Bookmark Button

[ sisc-Bugs-1458196 ] |load| error locations point to end of last expressio: msg#00038

Subject: [ sisc-Bugs-1458196 ] |load| error locations point to end of last expression
Bugs item #1458196, was opened at 2006-03-25 09:36
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=1458196&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| error locations point to end of last expression

Initial Comment:
loading the file containing

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

produces

rade@tanto:~/programs/sisc$ ./sisc.sh -x
/tmp/rade/error-test3.scm 
Error in load: file:/tmp/rade/error-test3.scm:3:17
file:init.scm:268:18: <indeterminate call>
file:init.scm:262:11: <indeterminate call>
file:init.scm:271:9: <indeterminate call>
===========================
Caused by Error in +: expected type number, got 'a'.
file:/tmp/rade/error-test3.scm:1:13: <from call to +>

The 'load' error location is pointing at the location
after the preceding expression, rather than the start
of the last expression.

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

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=379534&aid=1458196&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


<Prev in Thread] Current Thread [Next in Thread>