[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug-kawa] [bug #17993] Unbound location exception when require-d syntax
From: |
Chris Wegrzyn |
Subject: |
[Bug-kawa] [bug #17993] Unbound location exception when require-d syntax calls some procedures |
Date: |
Fri, 13 Oct 2006 19:17:16 +0000 |
User-agent: |
Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322) |
URL:
<http://savannah.gnu.org/bugs/?17993>
Summary: Unbound location exception when require-d syntax
calls some procedures
Project: Kawa
Submitted by: cwegrzyn
Submitted on: Friday 10/13/2006 at 19:17
Category: Scheme language
Severity: 3 - Normal
Item Group: Run-time exception
Status: None
Privacy: Public
Assigned to: None
Open/Closed: Open
_______________________________________________________
Details:
Syntax definitions (using define-syntax) that are loaded into the current
environment from compiled scheme classes with require (or programmatically
with loadClass) cause an "unbound location exception" when they expand to
calls to functions defined in the same scope as the syntax definition. The
problem only occurs when the function that is called by the syntax refers to
other defined values. For example, in the attached testcase, replacing the
identifier foobar with the string "foobar" fixes the problem.
I have attached two scheme files that make up a testcase for this problem. To
reproduce the problem, compile brokensyntax.scm (kawa -C) and then run
brokensyntax-test.scm (kawa -f). I haven't had time yet to figure out a fix
for this problem. I have tested this against r5524.
_______________________________________________________
File Attachments:
-------------------------------------------------------
Date: Friday 10/13/2006 at 19:17 Name: brokensyntax.scm Size: 246B By:
cwegrzyn
testcase: file to compile
<http://savannah.gnu.org/bugs/download.php?file_id=10967>
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?17993>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
- [Bug-kawa] [bug #17993] Unbound location exception when require-d syntax calls some procedures,
Chris Wegrzyn <=