Details
-
Bug
-
Resolution: Duplicate
-
Not Evaluated
-
None
-
Qt Creator 3.1.1
-
None
-
Ubuntu 64bits
Description
The following C++ line is the source of the unwanted behaviour of the C++ editor: (where a is double* and n is int)
a = new double[n = 5];
Wherever you go after this line and press Return, the indentation does not work anymore. This can simply be fixed by writing:
a = new double[(n = 5)];
However, I doubt that this is a normal behaviour, so I reported it.
Attachments
Issue Links
- duplicates
-
QTCREATORBUG-20824 Wrong indentation after assignation : x[y=z]
- Closed