Closed gubser closed 8 months ago
Hello, thank you for this report. I took a look and found a solution to this problem. The short version is that the AST the parser produces is rather misleading. We had a workaround for this but never considered any cases where there are more than 2 elements in the tuple.
Fix available in https://www.nuget.org/packages/fantomas/6.2.3
I tried to create an issue using fantomas-online but GitHub reported 'Your request URL is too long.'.
Here's the link using preview version: fantomas-online
Code
Result
Problem description
Fantomas fails to format indexed property with three variables. But it works with two variabels, see fantomas-online
Extra information [ ] The formatted result breaks my code. [ ] The formatted result gives compiler warnings. [x] I or my company would be willing to help fix this. [x] I would like a release if this problem is solved.