Bug 6416

Summary: Code resolve doesn't work on message send when parameters are not correct
Product: [Eclipse Project] JDT Reporter: David Audel <david_audel>
Component: CoreAssignee: David Audel <david_audel>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3    
Version: 2.0   
Target Milestone: 2.0 M1   
Hardware: PC   
OS: Windows NT   
Whiteboard:

Description David Audel CLA 2001-11-29 07:13:14 EST
Step to reproduce :
 1) create class X
   ----------------
   public class X {
      public void foo(int x){}
      public void bar(){
         foo("String");
      }
   }
   ----------------
 2) select foo in bar method
 3) press F3
Comment 1 David Audel CLA 2001-11-29 07:20:08 EST
If parameters are not correct but receiver type and selector are correct, Code 
Resolve propose the first receiver's method with the correct selector.

Fixed