Skip to content

Commit 2121002

Browse files
committed
Add comment about UInt16s
1 parent 81f072a commit 2121002

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/Fantomas.Core/ASTTransformer.fs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -123,6 +123,7 @@ let mkConstant (creationAide: CreationAide) c r : Constant =
123123
| SynConst.Int32 v -> orElse (v.ToString())
124124
| SynConst.Int64 v -> orElse (v.ToString() + "L")
125125
| SynConst.UInt16 v -> orElse (v.ToString() + "us")
126+
// This formatting is likely imperfect, but SynConst.UInt16s is only used internally to the F# compiler.
126127
| SynConst.UInt16s v ->
127128
orElse (
128129
v

0 commit comments

Comments
 (0)