[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Dotgnu-pnet-commits] CVS: pnet/cscc/csharp cs_invoke.tc,1.15,1.16
From: |
Gopal.V <address@hidden> |
Subject: |
[Dotgnu-pnet-commits] CVS: pnet/cscc/csharp cs_invoke.tc,1.15,1.16 |
Date: |
Tue, 12 Nov 2002 13:08:43 -0500 |
Update of /cvsroot/dotgnu-pnet/pnet/cscc/csharp
In directory subversions:/tmp/cvs-serv7968/cscc/csharp
Modified Files:
cs_invoke.tc
Log Message:
null params call
Index: cs_invoke.tc
===================================================================
RCS file: /cvsroot/dotgnu-pnet/pnet/cscc/csharp/cs_invoke.tc,v
retrieving revision 1.15
retrieving revision 1.16
diff -C2 -r1.15 -r1.16
*** cs_invoke.tc 11 Nov 2002 20:22:42 -0000 1.15
--- cs_invoke.tc 12 Nov 2002 18:08:39 -0000 1.16
***************
*** 1329,1334 ****
else if(!ILCanCoerce(info, args[argNum].type,
paramType))
{
! /* Could not match as an array or as an
element */
! return 0;
}
else
--- 1329,1342 ----
else if(!ILCanCoerce(info, args[argNum].type,
paramType))
{
! if(args[argNum].type==ILType_Null)
! {
! /* Matched as a null array */
! ++paramNum;
! }
! else
! {
! /* Could not match as an array
or as an element */
! return 0;
! }
}
else
***************
*** 1584,1587 ****
--- 1592,1602 ----
ILCoerce(info, args[argNum].node,
args[argNum].parent,
args[argNum].type, paramType);
+ argArray = 0;
+ }
+ /* Note: ILCanCoerce can be used to handle stuff
intelligently
+ here but that's not what MS CSC does */
+ else if(args[argNum].type==ILType_Null)
+ {
+ /* Matched as a null array */
argArray = 0;
}
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Dotgnu-pnet-commits] CVS: pnet/cscc/csharp cs_invoke.tc,1.15,1.16,
Gopal.V <address@hidden> <=