Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 323551 - CA-wrong item shown
Summary: CA-wrong item shown
Status: CLOSED FIXED
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: PDT (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows XP
: P1 normal (vote)
Target Milestone: ---   Edit
Assignee: Zhongwei Zhao CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-08-24 21:46 EDT by Zhongwei Zhao CLA
Modified: 2020-05-14 11:07 EDT (History)
3 users (show)

See Also:
ganoro: review+
qiangsheng.w: review+
zhaozhongwei: review? (zhaozhongwei)
zhaozhongwei: review? (zhaozhongwei)


Attachments
patch (3.58 KB, patch)
2010-09-01 02:18 EDT, Zhongwei Zhao CLA
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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