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

Commitc0de51d

Browse files
KevinRansomKevin Ransom
authored and
Kevin Ransom
committed
Fix Literal fields
1 parent44af17a commitc0de51d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎src/fsharp/IlxGen.fs‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4742,7 +4742,7 @@ and GenBindingAfterSequencePoint cenv cgbuf eenv sp (TBind(vspec,rhsExpr,_)) sta
47424742
letilFieldDef= mkILStaticField(fspec.Name, fty, None, None, access)
47434743
letilFieldDef=
47444744
match vref.LiteralValuewith
4745-
| Some konst->{ ilFieldDef.WithHasDefault(true)with LiteralValue= Some(GenFieldInit m konst)}
4745+
| Some konst->{(ilFieldDef.WithHasDefault(true)).WithLiteral(true)with LiteralValue= Some(GenFieldInit m konst)}
47464746
| None-> ilFieldDef
47474747

47484748
letilFieldDef=

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp