Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit6d3f6de

Browse files
vasily-kirichenkoTIHan
authored andcommitted
fix sprint for sbyte and byte IL fields (#4092)
1 parent7102178 commit6d3f6de

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

‎src/fsharp/NicePrint.fs‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -321,9 +321,11 @@ module private PrintIL =
321321
then Some Literals.keywordTrue
322322
else Some Literals.keywordFalse
323323
| ILFieldInit.Char c->("'"+(char c).ToString()+"'")|>(tagStringLiteral>> Some)
324+
| ILFieldInit.Int8 x->((x|> int32|> string)+"y")|>(tagNumericLiteral>> Some)
324325
| ILFieldInit.Int16 x->((x|> int32|> string)+"s")|>(tagNumericLiteral>> Some)
325326
| ILFieldInit.Int32 x-> x|>(string>> tagNumericLiteral>> Some)
326327
| ILFieldInit.Int64 x->((x|> string)+"L")|>(tagNumericLiteral>> Some)
328+
| ILFieldInit.UInt8 x->((x|> int32|> string)+"uy")|>(tagNumericLiteral>> Some)
327329
| ILFieldInit.UInt16 x->((x|> int32|> string)+"us")|>(tagNumericLiteral>> Some)
328330
| ILFieldInit.UInt32 x->(x|> int64|> string)+"u"|>(tagNumericLiteral>> Some)
329331
| ILFieldInit.UInt64 x->((x|> int64|> string)+"UL")|>(tagNumericLiteral>> Some)

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp