This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 170180 - Code-completition not working for keyword "self"
Summary: Code-completition not working for keyword "self"
Status: RESOLVED DUPLICATE of bug 163269
Alias: None
Product: php
Classification: Unclassified
Component: Editor (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: rmatous
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-08-11 10:29 UTC by marcusson
Modified: 2009-08-11 11:33 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description marcusson 2009-08-11 10:29:54 UTC
Code-completition is not working for the following code:

class A
{
  function b()
  {
    $foo = new A();
    $bar = new self();
  }
}

Both objects ($foo and $bar) are instances of class A.
However: NetBeans offers code-completion only for object $foo and doesn't recognize the type of object $bar.
Comment 1 rmatous 2009-08-11 11:33:47 UTC

*** This issue has been marked as a duplicate of 163269 ***