Skip to content

Commit

Permalink
formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
MatthijsPrent committed Sep 13, 2024
1 parent ae98135 commit ee74bbc
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions src/FSharp.Formatting.ApiDocs/GenerateModel.fs
Original file line number Diff line number Diff line change
Expand Up @@ -352,9 +352,13 @@ type ApiDocMember
match psym with
| Choice1Of2 p ->
if isUnitType p.Type |> not then
printfn "%s(%d,%d): warning: a parameter was missing a name" m.FileName m.StartLine m.StartColumn
printfn
"%s(%d,%d): warning: a parameter was missing a name"
m.FileName
m.StartLine
m.StartColumn
| Choice2Of2 _ ->
printfn "%s(%d,%d): warning: a field was missing a name" m.FileName m.StartLine m.StartColumn
printfn "%s(%d,%d): warning: a field was missing a name" m.FileName m.StartLine m.StartColumn
| Some nm ->
if not (tdocs.ContainsKey pnm) then
printfn
Expand Down

0 comments on commit ee74bbc

Please sign in to comment.