bugKawa - Bugs: bug #38891, Wrong warning with literal double...


bug #38891: Wrong warning with literal double value

Submitted by:  Matthieu Vachon <maoueh>
Submitted on:  Sun 05 May 2013 03:52:34 AM UTC  
Category: NoneSeverity: 3 - Normal
Item Group: NoneStatus: Fixed
Privacy: PublicAssigned to: Per Bothner <bothner>
Open/Closed: Closed

Add a New Comment(Rich Markup)

You are not logged in

Please log in, so followups can be emailed to you.


Sat 11 May 2013 06:37:36 PM UTC, comment #1:

Thanks. I checked in a fix as well as the testcase In this case the fix was to remove some code in Type "comparison" that had been obsoleted by newer code.

Per Bothner <bothner>
Project AdministratorIn charge of this item.
Sun 05 May 2013 03:52:34 AM UTC, original submission:

I saw a similar bug report in the list but since it was quite old (2003), I will submit a new one. Feel free to close it if you think it's a duplicate.

When compiling the following code, Kawa will issue a warning saying there is more than one applicable method:

Full compile log is:

In my opinion, since I directly enter a double literal (3.0), Kawa should automatically assume I want to use the double version.

I attached my test file for easier testing.


Matthieu Vachon <maoueh>


(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach File(s):

Attached Files
file #28022:  make-double.scm added by maoueh (104B - application/octet-stream - Kawa test file)


Depends on the following items: None found

Items that depend on this one: None found


Carbon-Copy List
  • -email is unavailable- added by bothner (Posted a comment)
  • -email is unavailable- added by maoueh (Submitted the item)

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.


    Please enter the title of George Orwell's famous dystopian book (it's a date):



    Follow 4 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Sat 11 May 2013 06:37:36 PM UTCbothnerStatusNone=>Fixed
      Assigned toNone=>bothner
    Sun 05 May 2013 03:52:34 AM UTCmaouehAttached File-=>Added make-double.scm, #28022

    Back to the top

    Powered by Savane 3.1-cleanup1