Using a cluster for string comparison overwrites its contents
Framework for numerical computations, data analysis and visualisation
Brought to you by:
numere
If a cluster is used for string comparison like this
c{} == ""
then it's contents are overwritten by the result of the comparison (i.e. 1 or 0).
The issue is located in the first condition of isClusterCandidate(), which looks for an assignment operator but does not validate that it isn't a boolean comparison operator. It might be a good solution to unify all occurences of assignment operator searches into a common functionality.
Added to the automatic SW tests. Tests ran without deviation.
Anonymous
Diff:
Diff:
Diff:
Related
Commit: [r838]
Diff: