fsprojects / fantomas

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

block comment between ^ and exponent in SynMeasure.Power is lost #2936

Closed dawedawe closed 1 year ago

dawedawe commented 1 year ago

Issue created from fantomas-online

Code

234<m^(* foo *)2>

Result

234<m^2>

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.