Skip to content

Commit

Permalink
Merge pull request #767 from fsprojects/f9
Browse files Browse the repository at this point in the history
Fix indexers in output
  • Loading branch information
dsyme authored Aug 30, 2022
2 parents 1a20eab + 9c2ad28 commit de5fbb3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/FSharp.Formatting.ApiDocs/GenerateModel.fs
Original file line number Diff line number Diff line change
Expand Up @@ -1447,7 +1447,7 @@ module internal SymbolReader =
| _, _, ".ctor", _, _ -> span [] [ !!v.ApparentEnclosingEntity.DisplayName; fullArgUsage ]

// Indexers
| _, true, _, "Item", _ -> span [] [ !! "this.["; fullArgUsage; !! "]" ]
| _, true, _, "Item", _ -> span [] [ !! "this["; fullArgUsage; !! "]" ]

// Custom operators
| _, _, _, _, Some name ->
Expand Down

0 comments on commit de5fbb3

Please sign in to comment.