[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug-kawa] [bug #49431] Missing define-constant and define-early-constan
From: |
AdriánMedraño Calvo |
Subject: |
[Bug-kawa] [bug #49431] Missing define-constant and define-early-constant in (kawa base) |
Date: |
Sat, 17 Dec 2016 20:32:57 -0000 |
User-agent: |
Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:49.0) Gecko/20100101 Firefox/49.0 |
URL:
<http://savannah.gnu.org/bugs/?49431>
Summary: Missing define-constant and define-early-constant in
(kawa base)
Project: Kawa
Submitted by: medranocalvo
Submitted on: Mon Oct 24 20:15:32 2016
Category: Scheme library
Severity: 3 - Normal
Item Group: Bad diagnostic
Status: None
Privacy: Public
Assigned to: None
Open/Closed: Open
Discussion Lock: Any
_______________________________________________________
Details:
This is a combination of two issues (please, find sample code below). The
first one, define-constant and define-early-constant are not in scope after
importing (kawa base). The secondary, is that obtained diagnostic does not
mention that these functions had not been declared, only the following:
sometest.scm:7:11: 'somelist' exported but never defined
Would it be possible to print the "warning - no declaration seen for ..."
warnings as well?
Please see the code:
(define-library (sometest)
(import
(scheme base)
(kawa base)
;; (only (kawa lib prim_syntax) define-constant define-early-constant)
)
(export somelist)
(begin
(define-constant somelist '(1 2 3))))
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?49431>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Bug-kawa] [bug #49431] Missing define-constant and define-early-constant in (kawa base),
AdriánMedraño Calvo <=