Bug 295865 - 'Update definition signature' not updates using this signature into function body.
Summary: 'Update definition signature' not updates using this signature into function ...
Status: RESOLVED DUPLICATE of bug 255706
Alias: None
Product: kdevelop
Classification: Applications
Component: Language Support: CPP (old) (show other bugs)
Version: 4.2.90
Platform: Mandriva RPMs Linux
: NOR normal
Target Milestone: 4.2.3
Assignee: kdevelop-bugs-null
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-03-12 19:58 UTC by Piotr Mierzwinski
Modified: 2012-03-17 01:05 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Piotr Mierzwinski 2012-03-12 19:58:55 UTC
After execution 'Update definition signature' there is 'Problem in semantic analysis: Declaration not found: parameterName' for renamed function parameter, that is not resolvable by C++ parser becouse 'Solve' ComboBox is empty.
I can't rename using of this parameter by refactoring tool, because I gives the message "Not declaration under cursor". I must do it manually or by "Replace" option.
Example:
header file:
class MyClass {
public:
        void myFun( bool status );
};
cpp file:
MyClass::myFun( bool status )
{
    if (! status)  {
       ; // do something
    }
}
In header file, I renaming parameter status (function myFun) to newStatus. Occurs me additional menu: "1 - Update definition signature   0 - Hide". I pressing Alt+1. In declaration and in definition of function myFun parameter has been renamed, but its use isn't. I have 'Problem in semantic analysis: Declaration not found: status'
Comment 1 Olivier.jg 2012-03-17 01:05:29 UTC
This will be resolved shortly

*** This bug has been marked as a duplicate of bug 255706 ***