We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see ourdocumentation.
There was an error while loading.Please reload this page.
1 parentf6cea7c commit72635a9Copy full SHA for 72635a9
src/fsharp/ilxgen.fs
@@ -2746,7 +2746,7 @@ and GenNamedLocalTyFuncCall cenv (cgbuf: CodeGenBuffer) eenv typ cloinfo tyargs
2746
2747
letilContractTy= mkILBoxedTy ilContractCloTySpec.TypeRef ilContractClassTyargs
2748
2749
-ifnot(ilContractMethTyargs.Length=tyargs.Length)then errorR(Error(FSComp.SR.ilIncorrectNumberOfTypeArguments(),m));
+ifnot(ilContractMethTyargs.Length=ilTyArgs.Length)then errorR(Error(FSComp.SR.ilIncorrectNumberOfTypeArguments(),m));
2750
2751
// Local TyFunc are represented as a $contract type. they currently get stored in a value of type object
2752
// Recover result (value or reference types) via unbox_any.