fsprojects / fantomas

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

Wrong comment placement #289

Closed auduchinok closed 5 years ago

auduchinok commented 6 years ago

Formatting Program.fs:

type T() =
    let x = 123
//    override private x.ToString() = ""
//    override private x.ToString() = ""
module Program

type T() =
    let x = 123
SteveGilham commented 6 years ago

See also #247

nojaf commented 6 years ago

I believe this is fixed now, looks fine online.

nojaf commented 5 years ago

Problem still occurs when PreserveEndOfLine is true

nojaf commented 5 years ago

Fixed in 2.9.1, see online.