* [bug #30903] Error line numbers are wrong @ 2010-08-30 2:08 Jose Antonio Ortega Ruiz 2010-08-30 2:13 ` Jose Antonio Ortega Ruiz 0 siblings, 1 reply; 5+ messages in thread From: Jose Antonio Ortega Ruiz @ 2010-08-30 2:08 UTC (permalink / raw) To: Jose Antonio Ortega Ruiz, bug-guile 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/ ^ permalink raw reply [flat|nested] 5+ messages in thread
* [bug #30903] Error line numbers are wrong 2010-08-30 2:08 [bug #30903] Error line numbers are wrong Jose Antonio Ortega Ruiz @ 2010-08-30 2:13 ` Jose Antonio Ortega Ruiz 2011-02-02 19:47 ` Andy Wingo 0 siblings, 1 reply; 5+ messages in thread From: Jose Antonio Ortega Ruiz @ 2010-08-30 2:13 UTC (permalink / raw) To: Jose Antonio Ortega Ruiz, bug-guile Follow-up Comment #1, bug #30903 (project guile): Sorry, pasted the wrong error trace. Here's the real one: ;;; compiling foo.scm ;;; compiled /home/jao/.cache/guile/ccache/2.0-0.R-LE-4/home/jao/tmp/foo.scm.go foo.scm:3:1: In procedure module-lookup: foo.scm:3:1: Unbound variable: a i.e., line 3 instead of line 5. _______________________________________________________ Reply to this item at: <http://savannah.gnu.org/bugs/?30903> _______________________________________________ Message sent via/by Savannah http://savannah.gnu.org/ ^ permalink raw reply [flat|nested] 5+ messages in thread
* [bug #30903] Error line numbers are wrong 2010-08-30 2:13 ` Jose Antonio Ortega Ruiz @ 2011-02-02 19:47 ` Andy Wingo 2011-10-22 14:23 ` bug#9837: " Ludovic Courtès 0 siblings, 1 reply; 5+ messages in thread From: Andy Wingo @ 2011-02-02 19:47 UTC (permalink / raw) To: Andy Wingo, Jose Antonio Ortega Ruiz, bug-guile Follow-up Comment #2, bug #30903 (project guile): Indeed. See http://www.gnu.org/software/guile/docs/master/guile.html/Source-Properties.html#Source-Properties for the reason: `a' does not have any source properties associated with it. To fix this, we would need a reader that returns an annotated datum instead of trusting to the source-propreties whash. _______________________________________________________ Reply to this item at: <http://savannah.gnu.org/bugs/?30903> _______________________________________________ Message sent via/by Savannah http://savannah.gnu.org/ ^ permalink raw reply [flat|nested] 5+ messages in thread
* bug#9837: [bug #30903] Error line numbers are wrong 2011-02-02 19:47 ` Andy Wingo @ 2011-10-22 14:23 ` Ludovic Courtès 2011-10-22 15:59 ` Ludovic Courtès 0 siblings, 1 reply; 5+ messages in thread From: Ludovic Courtès @ 2011-10-22 14:23 UTC (permalink / raw) To: ludo, wingo, jao, 9837 Update of bug #30903 (project guile): Status: None => Wont Fix Open/Closed: Open => Closed _______________________________________________________ Reply to this item at: <http://savannah.gnu.org/bugs/?30903> _______________________________________________ Message sent via/by Savannah http://savannah.gnu.org/ ^ permalink raw reply [flat|nested] 5+ messages in thread
* bug#9837: [bug #30903] Error line numbers are wrong 2011-10-22 14:23 ` bug#9837: " Ludovic Courtès @ 2011-10-22 15:59 ` Ludovic Courtès 0 siblings, 0 replies; 5+ messages in thread From: Ludovic Courtès @ 2011-10-22 15:59 UTC (permalink / raw) To: 9837-done ^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2011-10-22 15:59 UTC | newest] Thread overview: 5+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2010-08-30 2:08 [bug #30903] Error line numbers are wrong Jose Antonio Ortega Ruiz 2010-08-30 2:13 ` Jose Antonio Ortega Ruiz 2011-02-02 19:47 ` Andy Wingo 2011-10-22 14:23 ` bug#9837: " Ludovic Courtès 2011-10-22 15:59 ` Ludovic Courtès
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).