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

Bug 314987

Summary: variables are shown multiple times in the code assist window
Product: z_Archived Reporter: freeman <freeman3>
Component: PDTAssignee: PHP Core <php.core-inbox>
Status: CLOSED FIXED QA Contact:
Severity: normal    
Priority: P1 CC: gadi, ganoro
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: All   
Whiteboard:

Description freeman CLA 2010-05-29 16:58:17 EDT
Build Identifier: 20100421

if I have a code like this:$columns = array();
$content = 'x';
if( $a == 1 )  {
   $content .= 'y';
}
..,

then $content is shown muliple times in the code assist window
it should be only once, it's still the same variable

Reproducible: Always

Steps to Reproduce:
1. happens allways when assigning multiple times to the same variable
2.
3.
Comment 1 Zhongwei Zhao CLA 2010-05-30 03:14:15 EDT
fixed in head
Comment 2 Gadi Goldbarg CLA 2010-06-17 07:34:23 EDT
Verified at PDT-2.2.0.v20100616
At showed example now content assist suggest only one of $content variable

Closing this issue...

Verified by
Teodor Kirkov
teodor.k@zend.com