itowlson/fsharp-vs-commands

Formatting one-line methods causes an exception

Closed this issue · 1 comments

module M

type T () = 
    let items = []
    member x.Reorder () = items |> List.iter ignore

Select the method, then execute 'format selection' command:
image

Fixed in Fantomas 0.9.6