https://bugs.kde.org/show_bug.cgi?id=365420

Piotr Mierzwinski <piotr.mierzwin...@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Version|5.1.1                       |5.3.1
     Ever confirmed|0                           |1
         Resolution|FIXED                       |---
             Status|RESOLVED                    |REOPENED

--- Comment #6 from Piotr Mierzwinski <piotr.mierzwin...@gmail.com> ---
Either I found new case when constructor is broken by inserting void on its
begin or this is just regression.
Initial code looks like below:

Header file (myclass.h):
public:
        MyClass();

cpp file (myclass.cpp):
MyClass::MyClass()
{
// some code
}

Steps to reproduce:
1. instead of "// some code" in definition of constructor put code like below:

   if (bParam)
      ;

2. copy to clipboard string like: "bool bParam"
3. paste copied string as parameter for constructor in cpp file. 
   After that definition will look like this:

   MyClass::MyClass( bool bParam )

4. Click on end above line, KDevelop will show two solutions, suggesting how to
fix the code
5. Click into the first one and after click into the second one
6. Switch to header file

CURRENT RESULT:
public:
        void MyClass( bool bParam );

EXPECTED RESULT:
public:
        MyClass( bool bParam );

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to