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

List:       kdevelop-bugs
Subject:    [Bug 249892] New: Autocompletion issue with typename, overriden in
From:       "Chaos A.D." <chaos-ad () yandex ! ru>
Date:       2010-09-02 11:32:32
Message-ID: bug-249892-40295 () http ! bugs ! kde ! org/
[Download RAW message or body]

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

           Summary: Autocompletion issue with typename, overriden in
                    nested namespaces
           Product: kdevelop
           Version: SVN
          Platform: Unlisted Binaries
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: Language Support: CPP
        AssignedTo: kdevelop-bugs@kdevelop.org
        ReportedBy: chaos-ad@yandex.ru


Version:           SVN
OS:                Linux

namespace First
{
    struct Name
    {
        int x;
    };
};

namespace First
{
    namespace Second
    {
        struct Name
        {
            int not_x;
        };

        void fn(Name);
    }
};

namespace First
{
    namespace Second
    {
        void fn(Name n)
        {
            n.not_x; // <<< Autocompletion broke it's leg here, and decides,
that Name means First::Name
        }
    }
}

int main()
{
};

Reproducible: Always


Actual Results:  
Name::x is present in autocompletion list, instead of Name::not_x

-- 
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