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

Commita9c9d60

Browse files
committed
handle AllowNullLiteral(false) correctly,fixesdotnet#383
1 parent574b9b3 commita9c9d60

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎src/fsharp/tc.fs‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13982,7 +13982,7 @@ module EstablishTypeDefinitionCores = begin
1398213982
let hasCLIMutable = HasFSharpAttribute cenv.g cenv.g.attrib_CLIMutableAttribute attrs
1398313983

1398413984
let hasStructLayoutAttr = HasFSharpAttribute cenv.g cenv.g.attrib_StructLayoutAttribute attrs
13985-
let hasAllowNullLiteralAttr =HasFSharpAttribute cenv.g cenv.g.attrib_AllowNullLiteralAttribute attrs
13985+
let hasAllowNullLiteralAttr =TryFindFSharpBoolAttribute cenv.g cenv.g.attrib_AllowNullLiteralAttribute attrs = Some(true)
1398613986

1398713987
if hasAbstractAttr then
1398813988
tycon.TypeContents.tcaug_abstract <- true

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp