-
Bug
-
Resolution: Done
-
P2: Important
-
Qt Creator 4.13.1
-
None
-
-
3418f09da7c4724c69b45a99d377d01fa3929642 (qt-creator/qt-creator/4.14)
Steps to reproduce:
- Define a class with a method:
class foo
{
public:
void bar();
};
- Implement the bar method inside foo.cpp
void bar()
{
}
- Modify the signature of bar inside foo.cpp
void bar(std::function<void (int)> func)
{
}
- Press Alt + Return to modify the declaration of bar inside foo.h
- Qt Creator will have left off the void return type, declaring a syntactically invalid function object.