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

            Bug ID: 375277
           Summary: Some changes trigger unnecessary "update declaration"
                    hint on constructor
           Product: kdevelop
           Version: 5.1.0
          Platform: Compiled Sources
                OS: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: Language Support: CPP (Clang-based)
          Assignee: kdevelop-bugs-n...@kde.org
          Reporter: nicolas.alva...@gmail.com
  Target Milestone: ---

Start with the following code:
class Foo {
    Foo();
};
Foo::Foo() 
{
    ;
}

Wait for parsing to finish and everything to get highlighted. Now add a
space(!) after the constructor's definition prototype:

Foo::Foo() <-- add a space here
{
    ;
}

The modified line is now underlined in red, and the tooltip shows "Problem in
Semantic analysis: Adapt Signature" and offers to "Update declaration
signature", even though there was no actual change to the signature. (Selecting
this solution then triggers bug 375276 and makes the code invalid).

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

Reply via email to