[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug-kawa] [bug #39047] Wrong incompatible type (boolean) with expected
From: |
Per Bothner |
Subject: |
[Bug-kawa] [bug #39047] Wrong incompatible type (boolean) with expected int |
Date: |
Mon, 03 Jun 2013 06:17:35 +0000 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:21.0) Gecko/20100101 Firefox/21.0 |
Update of bug #39047 (project kawa):
Status: None => Fixed
Assigned to: None => bothner
Open/Closed: Open => Closed
_______________________________________________________
Follow-up Comment #2:
This was somewhat tricky. The problem is Kawa follows the Scheme handling of
boolean - any value can be treated as boolean. I.e. any value can be
converted to boolean. This confused the logic for comparing types, so I made
some changes that I think are cleaner.
Checked in fix, and a testcase based on yours. Thanks!
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?39047>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
- [Bug-kawa] [bug #39047] Wrong incompatible type (boolean) with expected int,
Per Bothner <=