Author: martin
Date: 2005-03-22 10:26:40 -0500 (Tue, 22 Mar 2005)
New Revision: 42112

Modified:
   trunk/mcs/gmcs/expression.cs
Log:
Small fix.


Modified: trunk/mcs/gmcs/expression.cs
===================================================================
--- trunk/mcs/gmcs/expression.cs        2005-03-22 15:11:23 UTC (rev 42111)
+++ trunk/mcs/gmcs/expression.cs        2005-03-22 15:26:40 UTC (rev 42112)
@@ -9035,7 +9035,8 @@
                                        type = ((TypeExpr) e).ResolveType (ec);
                                if (type == null)
                                        return null;
-                       }
+                       } else
+                               type = ltype;
 
                        if (!ec.InUnsafe && type.IsPointer){
                                UnsafeError (loc);

_______________________________________________
Mono-patches maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches

Reply via email to