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

List:       kdevelop-bugs
Subject:    [Bug 187734] New: Honor const-ness when proposing declaration
From:       Eckhart Wörner <ewoerner () kde ! org>
Date:       2009-03-20 19:30:57
Message-ID: bug-187734-40295 () http ! bugs ! kde ! org/
[Download RAW message or body]

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

           Summary: Honor const-ness when proposing declaration
           Product: kdevelop
           Version: unspecified
          Platform: unspecified
        OS/Version: Linux
            Status: NEW
          Severity: wishlist
          Priority: NOR
         Component: general
        AssignedTo: kdevelop-bugs@kdevelop.org
        ReportedBy: ewoerner@kde.org


Version:           3.9.91 (using KDevPlatform 0.9.91) (using 4.2.67 (KDE 4.2.67
(KDE 4.3 >= 20090318)), compiled sources)
Compiler:          gcc
OS:                Linux (i686) release 2.6.28-1-686

class test { };

int example() {
    const test x = test();
    x.f();
}

What the assistant suggests:
Declare void test::f()
what it should suggest:
Declare void test::f() const

-- 
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- 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