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

Commit72635a9

Browse files
author
andrewjkennedy
committed
Fix fordotnet#30
Code was comparing a pre-erasure list of arguments with a post-erasure list
1 parentf6cea7c commit72635a9

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
@@ -2746,7 +2746,7 @@ and GenNamedLocalTyFuncCall cenv (cgbuf: CodeGenBuffer) eenv typ cloinfo tyargs
27462746

27472747
letilContractTy= mkILBoxedTy ilContractCloTySpec.TypeRef ilContractClassTyargs
27482748

2749-
ifnot(ilContractMethTyargs.Length=tyargs.Length)then errorR(Error(FSComp.SR.ilIncorrectNumberOfTypeArguments(),m));
2749+
ifnot(ilContractMethTyargs.Length=ilTyArgs.Length)then errorR(Error(FSComp.SR.ilIncorrectNumberOfTypeArguments(),m));
27502750

27512751
// Local TyFunc are represented as a $contract type. they currently get stored in a value of type object
27522752
// Recover result (value or reference types) via unbox_any.

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp