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

            Bug ID: 363057
           Summary: Problem with Auto-Completion in cpp file, when trying
                    to implement function defined in .h file
           Product: kdevelop
           Version: unspecified
          Platform: Ubuntu Packages
                OS: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: Language Support: CPP
          Assignee: kdevelop-bugs-n...@kde.org
          Reporter: sumeettulsa...@gmail.com

I have declared a header file named ‘foo.h’ having a constructor and a function
declared  which returns int type data as shown below:

class Foo()
{
    public:
        Foo();
        int foo_func();
};

When I try to implement the function in ‘foo.cpp’ I type int the return type of
‘foo_func’ then I get a auto completion box having an option for ‘foo_func'.
But, when I select the option it gives ‘int int foo_func()’ instead of ‘int
foo_func()’.  


Reproducible: Always


Actual Results:  
#include <iostream>

#include “foo.h”

Foo::Foo()
{}

int int Foo::foo_func()
{
     return 1;
}

Expected Results:  
int Foo::foo_func()
{

}

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

Reply via email to