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

List:       kdevelop-bugs
Subject:    [Bug 273658] New: Confusion with nested namespace
From:       Olivier Goffart <ogoffart () kde ! org>
Date:       2011-05-19 15:44:27
Message-ID: bug-273658-40295 () http ! bugs ! kde ! org/
[Download RAW message or body]

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

           Summary: Confusion with nested namespace
           Product: kdevelop
           Version: 4.2.1
          Platform: Archlinux Packages
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: NOR
         Component: Language Support: CPP
        AssignedTo: kdevelop-bugs@kdevelop.org
        ReportedBy: ogoffart@kde.org


Version:           4.2.1 (using KDE 4.6.3) 
OS:                Linux

See this example,   
Kdevelop thinks 'Isolate a' in the function is from the wrong namespace

//----
namespace v8 {
struct Isolate { int bar(); };

namespace internal {
struct Isolate { int foo(); };

void function() {
    Isolate a;   // this should be v8::internal::Isolate, but kdevelop thinks
it is v8::Isolate
    a.foo();
}
}
}
//-----

Reproducible: Always

Steps to Reproduce:
Copy paste the code above in KDevelop

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