| Summary: | [PHP 5.4] Content Assist does not work after keyword "insteadof" | ||
|---|---|---|---|
| Product: | z_Archived | Reporter: | Kalin <kalin.a> |
| Component: | PDT | Assignee: | PHP Core <php.core-inbox> |
| Status: | CLOSED FIXED | QA Contact: | |
| Severity: | normal | ||
| Priority: | P3 | CC: | silviya, zhaozhongwei |
| Version: | unspecified | ||
| Target Milestone: | --- | ||
| Hardware: | PC | ||
| OS: | Windows 7 | ||
| Whiteboard: | |||
fixed Verified. Closing. |
Have a php 5.4 project created. Create a php file in the project: <?php trait A { public function smallTalk() { echo 'a'; } public function bigTalk() { echo 'A'; } } trait B { public function smallTalk() { echo 'b'; } public function bigTalk() { echo 'B'; } } class Talker { use A, B { B::| // <-- Case 1. Invoke content Assist at cursor position"|" A::bigTalk insteadof | // <-- Case 2. Invoke content Assist at cursor position"|" Expected: Case 1: smallTalk() bigTalk() should be suggested. Case 2: B should be suggested. Actual: The mentioned items are not listed in Content Assist