[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug-kawa] [bug #49344] Class method in for-each gives "internal error:
From: |
Sudarshan S Chawathe |
Subject: |
[Bug-kawa] [bug #49344] Class method in for-each gives "internal error: missing LambdaExp". |
Date: |
Fri, 14 Oct 2016 14:02:27 +0000 (UTC) |
User-agent: |
Mozilla/5.0 (X11; Linux i686) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/53.0.2785.143 Safari/537.36 |
URL:
<http://savannah.gnu.org/bugs/?49344>
Summary: Class method in for-each gives "internal error:
missing LambdaExp".
Project: Kawa
Submitted by: chaw
Submitted on: Fri 14 Oct 2016 02:02:25 PM GMT
Category: Scheme language
Severity: 3 - Normal
Item Group: Compile-time exception
Status: None
Privacy: Public
Assigned to: None
Open/Closed: Open
Discussion Lock: Any
_______________________________________________________
Details:
Assuming my interpretation of the docs (see bug #49343) is correct, it seems
like I am getting some odd behavior when attempting to use one class
method in another. I have tried to produce a small example
illustrating the behavior. Files are b101.scm and b102.scm. I tested
using Kawa 2.1 and OpenJDK 7.
kawa b101.scm
prints 42 as expected , albeit with a warning:
b101.scm:6:5: warning - no known slot 'getValue' in java.lang.Object
42
but the very similar
kawa b102.scm
produces the following error message
b102.scm:6:5: warning - no known slot 'getValue' in java.lang.Object
b102.scm:10:25: internal error: missing LambdaExp:p1-value/4/l:5
Using kawa -C b102.scm confirms that it's a compile-time error.
_______________________________________________________
File Attachments:
-------------------------------------------------------
Date: Fri 14 Oct 2016 02:02:25 PM GMT Name: b101.scm Size: 259B By: chaw
b101.scm works fine; b102.scm gives error.
<http://savannah.gnu.org/bugs/download.php?file_id=38730>
-------------------------------------------------------
Date: Fri 14 Oct 2016 02:02:25 PM GMT Name: b102.scm Size: 320B By: chaw
b101.scm works fine; b102.scm gives error.
<http://savannah.gnu.org/bugs/download.php?file_id=38731>
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?49344>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
- [Bug-kawa] [bug #49344] Class method in for-each gives "internal error: missing LambdaExp".,
Sudarshan S Chawathe <=