bug-kawa
[Top][All Lists]
Advanced

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

[Bug-kawa] [bugs #8973] define-private functions not accessible from eve


From: Chris Dean
Subject: [Bug-kawa] [bugs #8973] define-private functions not accessible from everywhere in a module
Date: Sat, 15 May 2004 22:49:13 -0400
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.6) Gecko/20040206 Firefox/0.8

This mail is an automated notification from the bugs tracker
 of the project: Kawa.




/**************************************************************************/
[bugs #8973] Full Item Snapshot:

URL: <http://savannah.gnu.org/bugs/?func=detailitem&item_id=8973>
Project: Kawa
Submitted by: Chris Dean
On: Sun 05/16/04 at 02:48

Category:  Code generation
Severity:  5 - Average
Item Group:  Run-time exception
Resolution:  None
Assigned to:  None
Status:  Open


Summary:  define-private functions not accessible from everywhere in a module

Original Submission:  Sometimes define-private functions get used in a named 
let or letrec whose body is implemented as a separate class.
That is, for some module M with a private function p we 
will generate the private method M.p.  If there is also a 
function f then parts of the body of f might be generated
in M$frame1.lambda1recur.  If lambda1recur calls M.p we will
get a runtime error.

Perhaps define-private functions should be implemented as
"package scope"?

Here's an example from srfi1:

#|kawa:2|# (count < '(1 2 4 8) '(2 4 6 8 10 12 14 16))
java.lang.IllegalAccessError: tried to access method 
gnu.kawa.slib.srfi1.$PcCars$PlCdrs(Ljava/lang/Object;)Ljava/lang/Object; from 
class gnu.kawa.slib.srfi1$frame6
        at gnu.kawa.slib.srfi1$frame6.lambda21(srfi1.scm:802)
        at gnu.kawa.slib.srfi1$frame6.apply0(srfi1.scm)
        at gnu.expr.ModuleMethod.apply0(ModuleMethod.java:81)
        at 
kawa.standard.call_with_values.callWithValues(call_with_values.java:10)
        at kawa.standard.call_with_values.apply2(call_with_values.java:19)
        at gnu.kawa.slib.srfi1$frame5.lambda20lp(srfi1.scm:802)
        at gnu.kawa.slib.srfi1.count$V(srfi1.scm:800)











For detailed info, follow this link:
<http://savannah.gnu.org/bugs/?func=detailitem&item_id=8973>

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







reply via email to

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