Details
Description
When adjusting spaces after pointer variables globally, I ran into the
problem that shiboken crashed when I tried to change
QByteArray* cppSelf = %CONVERTTOCPP[QByteArray *](obj);
to
QByteArray *cppSelf = %CONVERTTOCPP[QByteArray *](obj);
The temporary work-around was to add another space, resulting in
QByteArray * cppSelf = %CONVERTTOCPP[QByteArray *](obj);
//XXX /|\ omitting this space crashes shiboken!
Assert (sources/shiboken2/generator/shiboken2/shibokengenerator.cpp:2048):
message "Types of receiver variable ('QTimer') and %CONVERTTOCPP type system variable ('QTimer *') differ." QString
The regex CONVERTTOCPP_REGEX at sources/shiboken2/generator/shiboken2/shibokengenerator.cpp:152 would have to be fixed to capture this correctly.