fsprojects-archive / zzarchive-VisualFSharpPowerTools

[ARCHIVED] Power commands for F# in Visual Studio
http://fsprojects.github.io/VisualFSharpPowerTools/
Apache License 2.0
310 stars 77 forks source link

wrong formatting of constructor with let binding and side effects #1303

Open miegir opened 8 years ago

miegir commented 8 years ago

This is the correct F# code (surprisingly):

type A = 
    new() = 
        let t = ()
        { inherit obj() }
        then t

After formatting, keyword then is deleted and code becomes incorrect.

dungpa commented 8 years ago

Thanks. I'll have a look.