zzarchive-VisualFSharpPowerTools icon indicating copy to clipboard operation
zzarchive-VisualFSharpPowerTools copied to clipboard

wrong formatting of constructor with let binding and side effects

Open miegir opened this issue 10 years ago • 1 comments

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.

miegir avatar Dec 20 '15 20:12 miegir

Thanks. I'll have a look.

dungpa avatar Dec 23 '15 23:12 dungpa