Closed richardcox13 closed 2 years ago
let a = Array.create 10 -1 let b = Array.create 10 a printfn "%d -> %d" a[0] (b[0][0])
Reformat (running this from VS Code with Ionide-fsharp 5.11.0 running fantomas-tool 4.6.5) results in
let a = Array.create 10 -1 let b = Array.create 10 a printfn "%d -> %d" a[0] (b [ 0 ] [ 0 ])
Which is not valid. Using .[0] does not have this problem.
.[0]
Please create an issue using the online tool:
See contribution guidelines
Oops, missed this reply. See https://github.com/fsprojects/fantomas/issues/2151.
Thank you! I'll get back to you over there.
Reformat (running this from VS Code with Ionide-fsharp 5.11.0 running fantomas-tool 4.6.5) results in
Which is not valid. Using
.[0]
does not have this problem.