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 116809 - Parent methods
Summary: Parent methods
Status: NEW
Alias: None
Product: cnd
Classification: Unclassified
Component: Code Completion (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker with 1 vote (vote)
Assignee: Vladimir Voskresensky
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-09-26 11:49 UTC by avp
Modified: 2009-09-25 14:06 UTC (History)
0 users

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description avp 2007-09-26 11:49:38 UTC
I have a code:
class a
{
 virtual void Save(){}
}

class b: public a
{
 virtual void Save()
 {
   //... some operations and then call Save method of parents,
   // <--here I call CodeComplete  he shows one method but must two
   
   
 }
}
...

And when CodeComplete  displays methods in list they must have fully qualified names
 ...
 base::Save()
 deriv::Save()
...
 and when I select one I expected call methods with full name
...
 base::Save();
...

 don't 
...
 Save() //such method exist in current class  or don't exists :)  
...
Comment 1 Vladimir Voskresensky 2007-09-26 18:57:32 UTC
when you'd like to call base class method you should type base::
in this case you'll see what you expect.
"base::" usecase problem was fixed in cnd6...

So, this could be enhancement, but it's not defect.
Comment 2 Vladimir Voskresensky 2009-09-25 14:06:18 UTC
consider for the next release due to lack of resources