fsprojects / fantomas

FSharp source code formatter
https://fsprojects.github.io/fantomas
Other
764 stars 190 forks source link

block comment in Rational between denominator and rparen is moved behind rparen #2933

Closed dawedawe closed 11 months ago

dawedawe commented 1 year ago

Issue created from fantomas-online

Code

234<kg^(2/3(* foo *))>

Result

234<kg^(2/3) (* foo *) >

Problem description

Please describe here the Fantomas problem you encountered. Check out our Contribution Guidelines.

Extra information

Options

Fantomas main branch at 2023-07-24T13:06:38Z - 0e07caba6301511d70a8187d5b6a1982d6c98638

Default Fantomas configuration

Did you know that you can ignore files when formatting by using a .fantomasignore file? PS: It's unlikely that someone else will solve your specific issue, as it's something that you have a personal stake in.