Source:
List<int> ints = new List<int>(count) { MyClass.GetInt(0), MyClass.GetInt(2) };
Current trunk:
List<int> ints = new List<int>(count) { MyClass.GetInt(0), MyClass.GetInt(2) };
I attach a patch with a workaround I did locally to fix the issue.
I attach an improved patch, that does not fail any unit tests. Also a patch adding new unit test.
Before I log a new issue, I want to check whether what I'm experiencing is related to this issue.
I have this code and AStyle config:
Notice that the parameters of
Initialize
are aligned.I expect the code to remain unchanged, but the
List<double>
initializer messes something up. Output:The first issue was fixed in 3.4.6