[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kdevelop-bugs
Subject:    [Bug 304165] New: kdevelop messes up implementation  when changing function declaration with unnamed
From:       Franz Fellner <alpine.art.de () googlemail ! com>
Date:       2012-07-28 5:26:47
Message-ID: bug-304165-40295 () http ! bugs ! kde ! org/
[Download RAW message or body]

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

            Bug ID: 304165
          Severity: normal
           Version: unspecified
          Priority: NOR
          Assignee: kdevelop-bugs@kdevelop.org
           Summary: kdevelop messes up implementation  when changing
                    function declaration with unnamed parameters and use
                    "update definition signature"
    Classification: Unclassified
                OS: Linux
          Reporter: alpine.art.de@googlemail.com
          Hardware: Other
            Status: UNCONFIRMED
         Component: general
           Product: kdevelop

Simple example:
initial declaration:
void paint(QPainter*);
definition:
void paint(QPainter* painter) {
    painter->drawRect(QRect(0,0,24,24));
}

Then I change the signature of the declaration:
void paint(QPainter*, QRect);

kdevelop then offers me to update the signature of the definition, which leads
to this:
void paint(QPainter*, QRect) {
    ->drawRect(QRect(0,0,24,24));
}

Reproducible: Always

-- 
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
KDevelop-bugs mailing list
KDevelop-bugs@kdevelop.org
https://barney.cs.uni-potsdam.de/mailman/listinfo/kdevelop-bugs
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic