| Summary: | Autocompletions does not work for aliased Classes | ||
|---|---|---|---|
| Product: | z_Archived | Reporter: | Axel <staff> |
| Component: | PDT | Assignee: | PHP Core <php.core-inbox> |
| Status: | CLOSED DUPLICATE | QA Contact: | Ilina Stefanova <ilina.s> |
| Severity: | normal | ||
| Priority: | P1 | CC: | ganoro, kalin.a |
| Version: | unspecified | ||
| Target Milestone: | --- | ||
| Hardware: | PC | ||
| OS: | Linux | ||
| Whiteboard: | |||
Maybe related with Bug #327511 Meant Bug #327514, sorry. yes,duplicate of 327514,and has been fixed in head *** This bug has been marked as a duplicate of bug 327514 *** Verified. Closing... |
Build Identifier: 20100617-1415 If a namespaced class is aliased by the use statement, autocompletion does not work for it. Reproducible: Always Steps to Reproduce: Used the following code (\bar\core\MyClass is defined in a separate file): <?php namspace foo; use bar\core\MyClass as BarClass; class FooClass { public function doSomething() { // auto completion does not work here $bar = new BarClass(); $bar->| // ... but works in this case: $bar2 = new \bar\core\MyClass(); $bar2->| } }