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

Commitda56716

Browse files
committed
Fix 316
1 parent1251430 commitda56716

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

‎src/fsharp/ilxgen.fs‎

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5690,7 +5690,11 @@ and GenAttribArg amap g eenv x (ilArgTy:ILType) =
56905690

56915691
match x,ilArgTywith
56925692

5693-
(* Detect standard constants*)
5693+
// Detect 'null' used for an array argument
5694+
| Expr.Const(Const.Zero,_,_),ILType.Array_->
5695+
ILAttribElem.Null
5696+
5697+
// Detect standard constants
56945698
| Expr.Const(c,m,_),_->
56955699
lettynm= ilArgTy.TypeSpec.Name
56965700
letisobj=(tynm="System.Object")

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp