dotgnu-pnet-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Dotgnu-pnet-commits] CVS: pnet/cscc/csharp cs_lvalue.tc,1.32,1.33


From: Gopal.V <address@hidden>
Subject: [Dotgnu-pnet-commits] CVS: pnet/cscc/csharp cs_lvalue.tc,1.32,1.33
Date: Fri, 06 Dec 2002 03:39:43 -0500

Update of /cvsroot/dotgnu-pnet/pnet/cscc/csharp
In directory subversions:/tmp/cvs-serv11398/cscc/csharp

Modified Files:
        cs_lvalue.tc 
Log Message:
consider 'null' as an object for member access


Index: cs_lvalue.tc
===================================================================
RCS file: /cvsroot/dotgnu-pnet/pnet/cscc/csharp/cs_lvalue.tc,v
retrieving revision 1.32
retrieving revision 1.33
diff -C2 -r1.32 -r1.33
*** cs_lvalue.tc        2 Dec 2002 19:08:32 -0000       1.32
--- cs_lvalue.tc        6 Dec 2002 08:39:40 -0000       1.33
***************
*** 1031,1035 ****
                {
                        /* Set the RValue to the type .. to handle Boxing later 
on*/
!                       CSSemSetRValue(value,CSSemGetType(value));
                }
        }
--- 1031,1042 ----
                {
                        /* Set the RValue to the type .. to handle Boxing later 
on*/
!                       if(CSSemGetType(value)==ILType_Null)
!                       {
!                               
CSSemSetRValue(value,ILValueTypeToType(info,evalue.valueType));
!                       }
!                       else
!                       {
!                               CSSemSetRValue(value,CSSemGetType(value));
!                       }
                }
        }





reply via email to

[Prev in Thread] Current Thread [Next in Thread]