bugKawa - Bugs: bug #47725, Same method candidate found twice...

 
 

bug #47725: Same method candidate found twice causing warning

Submitted by:  Tom Bousso <tbousso>
Submitted on:  Mon 18 Apr 2016 02:58:30 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.

 

Thu 21 Apr 2016 07:39:19 PM UTC, comment #1:

This was a bug in code that used '==' to compare two types for equality. I added an implementation of equals for ParameterizedType, and changed the test to (indirectly) use that.

I also checked in the test case (testsuite/svn47725.scm). Thanks!

Per Bothner <bothner>
Project AdministratorIn charge of this item.
Mon 18 Apr 2016 02:58:30 AM UTC, original submission:

That code runs fine but it creates a warning because getMethods is found twice:

Those signatures are identical.

Tom Bousso <tbousso>

 

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

Attach File(s):
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by bothner (Posted a comment)
  • -unavailable- added by tbousso (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 3 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Sat 23 Apr 2016 05:15:51 AM UTCbothnerOpen/ClosedOpen=>Closed
    Thu 21 Apr 2016 07:39:19 PM UTCbothnerStatusNone=>Fixed
      Assigned toNone=>bothner

    Back to the top


    Powered by Savane 3.1-cleanup1