Create Implementation for C++ uses an incorrect $SymbolContext$ if the namespace definition has an identical comment in the header and source files.
Example:
widget.h:
namespace stuff // misc stuff
{
struct Widget
{
Widget();
void doSomething();
};
}
widget.cpp:
#include "widget.h"
namespace stuff // misc stuff
{
Widget::Widget()
{}
}
Using Create Implementation for doSomething generates the following code:
void thing()
{
}
The number of characters missing from the signature depends on the length of the comment.
Everything works after changing the comment in either one of the files to "// misc stuf"
Versions:
VA_X.dll file version 10.9.2108.0 built 2016.08.01
DevEnv.exe version 12.0.40629.0 Professional
msenv.dll version 12.0.40629.0
Comctl32.dll version 6.10.10586.494
Windows 8.1 6.3 Build 9600
8 processors (x86-64, WOW64)
Language info: 1252, 0x407