Details
-
Type:
Bug
-
Status: Closed
-
Priority:
P2: Important
-
Resolution: Done
-
Affects Version/s: Qt Creator 6.0.0
-
Fix Version/s: Qt Creator 6.0.0-beta2
-
Component/s: C/C++/Obj-C++ Support
-
Labels:None
-
Commits:05e698a478c7a91bef5aa16ec9215fe391b8a195 (qt-creator/qt-creator/6.0)
Description
a small issue in the "add definition" feature:
#include <array> struct foo { template <int N> using int_array = std::array<int, N>; int_array<5> bar(); };
if i "add definition" for bar(), qtcreator generates:
int_array<5> foo::bar() {}
but of course it should be:
foo::int_array<5> foo::bar() {}