Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 367050 - duplicate constructors in CA after 'new' keyword
Summary: duplicate constructors in CA after 'new' keyword
Status: CLOSED FIXED
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: PDT (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: PHP Core CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-12-19 00:26 EST by Zhongwei Zhao CLA
Modified: 2020-05-14 11:17 EDT (History)
3 users (show)

See Also:


Attachments
screenshot (44.28 KB, image/jpeg)
2012-07-04 10:07 EDT, Kalin CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Zhongwei Zhao CLA 2011-12-19 00:26:07 EST
php file:
<?php
namespace foo;
class fooClass1 {
 function function_name() {
  ;
 }
}
namespace bar;
use foo\fooClass1;

class barClass1 extends fooClass1{
 function function_name() {
  ;
 }
}
new fooClass1| <- CA here

you will see there are 2 proposals for fooClass1,one is alias the other is the \foo\fooClass1.
Comment 1 Zhongwei Zhao CLA 2011-12-19 00:26:54 EST
fixed
Comment 2 Kalin CLA 2012-07-04 10:06:25 EDT
The problem is still reproduced.
See the new attachment.
Comment 3 Kalin CLA 2012-07-04 10:07:07 EDT
Created attachment 218275 [details]
screenshot
Comment 4 Michal Niewrzal CLA 2016-05-19 08:47:37 EDT
Works correctly with latest PDT. Fixed indirectly.
Comment 5 Sylvia Tancheva CLA 2016-06-21 09:46:03 EDT
Right, closing