From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: manday@openmail.cc Newsgroups: gmane.lisp.guile.devel Subject: Loss of location in (library) code Date: Sat, 14 Nov 2020 20:26:13 +0100 Message-ID: <20201114192613.GA4924@air> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="18010"; mail-complaints-to="usenet@ciao.gmane.io" To: guile-devel@gnu.org Original-X-From: guile-devel-bounces+guile-devel=m.gmane-mx.org@gnu.org Sun Nov 15 22:37:52 2020 Return-path: Envelope-to: guile-devel@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kePia-0004Vh-O5 for guile-devel@m.gmane-mx.org; Sun, 15 Nov 2020 22:37:52 +0100 Original-Received: from localhost ([::1]:35756 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kePiZ-0005cJ-7t for guile-devel@m.gmane-mx.org; Sun, 15 Nov 2020 16:37:51 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:45364) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kePhl-0005Y3-04 for guile-devel@gnu.org; Sun, 15 Nov 2020 16:37:01 -0500 Original-Received: from nl101-2.vfemail.net ([149.210.219.31]:55819 helo=freequeue.vfemail.net) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kePhi-0004aY-SU for guile-devel@gnu.org; Sun, 15 Nov 2020 16:37:00 -0500 Original-Received: (qmail 5010 invoked from network); 15 Nov 2020 21:35:53 -0000 Original-Received: from nl101-2.vfemail.net (bmE=@149.210.219.31) by freequeue.vfemail.net with (DHE-RSA-AES256-SHA encrypted) SMTP; 15 Nov 2020 21:35:53 -0000 Original-Received: (qmail 24554 invoked from network); 14 Nov 2020 19:26:14 -0000 Original-Received: by simscan 1.4.0 ppid: 24512, pid: 24551, t: 0.1172s scanners:none Original-Received: from unknown (HELO www192.vfemail.net) (bWFuZGF5QG9wZW5tYWlsLmNj@192.168.1.192) by nl101.vfemail.net with ESMTPA; 14 Nov 2020 19:26:14 -0000 Content-Disposition: inline Received-SPF: pass client-ip=149.210.219.31; envelope-from=manday@openmail.cc; helo=freequeue.vfemail.net X-detected-operating-system: by eggs.gnu.org: First seen = 2020/11/15 16:35:55 X-ACL-Warn: Detected OS = FreeBSD 9.x or newer [fuzzy] X-Spam_score_int: -25 X-Spam_score: -2.6 X-Spam_bar: -- X-Spam_report: (-2.6 / 5.0 requ) BAYES_00=-1.9, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Mailman-Approved-At: Sun, 15 Nov 2020 16:37:36 -0500 X-BeenThere: guile-devel@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Developers list for Guile, the GNU extensibility library" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guile-devel-bounces+guile-devel=m.gmane-mx.org@gnu.org Original-Sender: "guile-devel" Xref: news.gmane.io gmane.lisp.guile.devel:20611 Archived-At: As discussed on #guile, we tried for a "possibly unbound variable" warning, on Guile 3.0.4: When the offending form is somewhere in a RnRS module or Guile library, the warnings give inconsistent line numbers. For instance: (library (test) (export f) (import (rnrs)) (define (f x) (if x (cons x 3) (IS-UNBOUND x)))) produces "4:1: warning: possibly unbound variable `IS-UNBOUND'", the warning is located on the (define) whereas ; Line 1 ; Line 2 ; Line 3 (define (f x) (if x (cons x 3) (IS-UNBOUND x))) produces "7:2: warning: possibly unbound variable `IS-UNBOUND'", the warning is located correctly. ------------------------------------------------- This free account was provided by VFEmail.net - report spam to abuse@vfemail.net ONLY AT VFEmail! - Use our Metadata Mitigator to keep your email out of the NSA's hands! $24.95 ONETIME Lifetime accounts with Privacy Features! 15GB disk! No bandwidth quotas! Commercial and Bulk Mail Options!