-
Bug
-
Resolution: Done
-
Not Evaluated
-
Qt Creator 4.0.3
-
None
-
Linux 4.7.1-1-ARCH
Qt Creator 4.0.3 based on Qt 5.7.0
Could not associate qualified id with name, defined in the nested namespace definition:
- refactor (rename), find usage, follow symbol options are not working with class c1 when it's referenced by qualified id (case of c3, a2, c5, a4, c1c1) in code below
- autocomplete is working well in all cases
namespace ns1::ns2
{
class c1 {};
class c2 : public c1 {}; // Ok
class c3 : public ::ns1::ns2::c1 {}; // nor refactor, nor find usage, nor follow symbol
using a1 = c1; // Ok
using a2 = ::ns1::ns2::c1; // nor refactor, nor find usage, nor follow symbol
}
namespace ns1::ns2
{
class c4 : public c1 {}; // Ok
class c5 : public ::ns1::ns2::c1 {}; // nor refactor, nor find usage, nor follow symbol
using a3 = c1; // Ok
using a4 = ::ns1::ns2::c1; // nor refactor, nor find usage, nor follow symbol
}
class c1c1 : public ns1::ns2::c1 {}; // nor refactor, nor find usage, nor follow symbol
using namespace ns1::ns2;
class uc1c1 : public c1 {}; // Ok