Format code using Fantomas v5.0.0-alpha-011. · dotnet/fsharp@d823751 · GitHub
Skip to content

Commit d823751

Browse files
committed
Format code using Fantomas v5.0.0-alpha-011.
1 parent 4388973 commit d823751

64 files changed

Lines changed: 884 additions & 512 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

‎src/Compiler/AbstractIL/il.fs‎

Lines changed: 39 additions & 23 deletions

‎src/Compiler/AbstractIL/ilnativeres.fs‎

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -96,8 +96,10 @@ type CvtResFile() =
9696
reader.Read(pAdditional.data, 0, pAdditional.data.Length) |> ignore<int>
9797
stream.Position <- stream.Position + 3L &&& ~~~ 3L
9898

99-
if pAdditional.pstringType.theString = Unchecked.defaultof<_>
100-
&& (pAdditional.pstringType.Ordinal = uint16 CvtResFile.RT_DLGINCLUDE) then
99+
if
100+
pAdditional.pstringType.theString = Unchecked.defaultof<_>
101+
&& (pAdditional.pstringType.Ordinal = uint16 CvtResFile.RT_DLGINCLUDE)
102+
then
101103
() (* ERROR ContinueNotSupported *)
102104
else
103105
resourceNames.Add pAdditional
@@ -454,7 +456,8 @@ type VersionHelper() =
454456
doBreak <- false
455457
() (* ERROR ContinueNotSupported *)
456458
(* ERROR BreakNotSupported *)
457-
if not breakLoop then i <- i + 1
459+
if not breakLoop then
460+
i <- i + 1
458461

459462
if hasWildcard then
460463
let mutable (i: int) = lastExplicitValue
@@ -1149,7 +1152,8 @@ type NativeResourceWriter() =
11491152
if id >= 0 then
11501153
writer.WriteInt32 id
11511154
else
1152-
if name = Unchecked.defaultof<_> then name <- String.Empty
1155+
if name = Unchecked.defaultof<_> then
1156+
name <- String.Empty
11531157

11541158
writer.WriteUInt32(nameOffset ||| 0x80000000u)
11551159
dataWriter.WriteUInt16(uint16 name.Length)

‎src/Compiler/AbstractIL/ilprint.fs‎

Lines changed: 40 additions & 20 deletions

0 commit comments

Comments
 (0)