bug-guile
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug #30903] Error line numbers are wrong


From: Jose Antonio Ortega Ruiz
Subject: [bug #30903] Error line numbers are wrong
Date: Mon, 30 Aug 2010 02:08:57 +0000
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1.11) Gecko/20100819 Conkeror/0.9.2 (Debian-0.9.2+git100829-~nightlybuild1283033221)

URL:
  <http://savannah.gnu.org/bugs/?30903>

                 Summary: Error line numbers are wrong
                 Project: Guile
            Submitted by: jao
            Submitted on: Mon 30 Aug 2010 02:08:56 AM GMT
                Category: None
                Severity: 3 - Normal
              Item Group: None
                  Status: None
                 Privacy: Public
             Assigned to: None
             Open/Closed: Open
         Discussion Lock: Any

    _______________________________________________________

Details:

In today's guile 1.9 (and since a while ago), line number and column reported
by the repl on entering the debugger are wrong (they seem to always point some
lines above the actual error).

E.g., loading this file:

    (define-module (foo))

    (define k 3)

    a

reports the undefined `a' error as:

    scheme@(guile-user)> (load "foo.scm")
    ;;; compiling foo.scm
    ;;; compiled /home/jao/.cache/guile/ccache/2.0-0.RLE-4/home 
/jao/tmp/foo.scm.go
    foo.scm:1:1: In procedure module-lookup:
    foo.scm:1:1: Unbound variable: define-modue
    Entering a new prompt.  Type `,bt' for a backtrace or `,q' to continue.
    scheme@(guile-user) [1]> 

i.e., line 1 instead of line 5.





    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?30903>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]