Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 323551

Summary: CA-wrong item shown
Product: z_Archived Reporter: Zhongwei Zhao <zhaozhongwei>
Component: PDTAssignee: Zhongwei Zhao <zhaozhongwei>
Status: CLOSED FIXED QA Contact:
Severity: normal    
Priority: P1 CC: ganoro, petyo_tanchev, qiangsheng.w
Version: unspecifiedFlags: ganoro: review+
qiangsheng.w: review+
zhaozhongwei: review? (zhaozhongwei)
zhaozhongwei: review? (zhaozhongwei)
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
Whiteboard:
Attachments:
Description Flags
patch none

Description Zhongwei Zhao CLA 2010-08-24 21:46:10 EDT
<?php
class class_name {
   function get_plugin(String $a,String $b) {
   }
   
   function getPluginString(String $a,String $b) {
   }
   
   function get_plugin1() {
      $this->get_plugin(|);//cursor position
   }
}

get two method get_plugin1 and get_plugin
expected:only get_plugin
Comment 1 Zhongwei Zhao CLA 2010-08-24 22:16:24 EDT
fixed in head and branch
Comment 2 Zhongwei Zhao CLA 2010-08-24 22:46:56 EDT
change status
Comment 3 Roy Ganor CLA 2010-08-31 08:22:25 EDT
Regression:

After hitting CA - the arguments are proposed.

function get_plugin1() {
      $this->get_plugin(|);//cursor position
   }

Expected:
The global scope proposal list should be provided.
Comment 4 Zhongwei Zhao CLA 2010-09-01 02:18:23 EDT
Created attachment 177914 [details]
patch
Comment 5 Roy Ganor CLA 2010-09-02 01:57:14 EDT
reviewed
Comment 6 Zhongwei Zhao CLA 2010-09-06 02:46:03 EDT
fixed
Comment 7 Petyo Tanchev CLA 2010-10-04 07:22:43 EDT
Tested on 2.2.1.v20101001
CA shows the global scope proposal list