Skip to content

Commit

Permalink
Bump Fantomas to 4.5.0-alpha-002 (fsprojects#1540)
Browse files Browse the repository at this point in the history
  • Loading branch information
nojaf committed Mar 26, 2021
1 parent ebc5ec8 commit 2cfd9ae
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .config/dotnet-tools.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
]
},
"fantomas-tool": {
"version": "4.5.0-alpha-001",
"version": "4.5.0-alpha-002",
"commands": [
"fantomas"
]
Expand Down
2 changes: 1 addition & 1 deletion src/Fantomas/CodePrinter.fs
Original file line number Diff line number Diff line change
Expand Up @@ -2859,7 +2859,7 @@ and genMultilineRecordInstance
+ 1

let delta = Math.Max((rbs - ctx.Column) - offset, 0)
(!-System.String.Empty.PadRight(delta)) ({ ctx with RecordBraceStart = rest })
(!- System.String.Empty.PadRight(delta)) ({ ctx with RecordBraceStart = rest })
else
sepNone ({ ctx with RecordBraceStart = rest })
| [] -> sepNone ctx)
Expand Down
2 changes: 1 addition & 1 deletion src/Fantomas/Context.fs
Original file line number Diff line number Diff line change
Expand Up @@ -1261,7 +1261,7 @@ let internal enterRightToken (tokenName: FsTokenType) (range: Range) (ctx: Conte
else
0

!-String.Empty.PadLeft(braceSize + spaceAround)
!- String.Empty.PadLeft(braceSize + spaceAround)

let spaceAfterNewline =
if ctx.Config.SpaceAroundDelimiter then
Expand Down

0 comments on commit 2cfd9ae

Please sign in to comment.