Unary contains old type lookup code instead of using TypeManager; this breaks the Gtk# build. May I commit?
Index: ChangeLog =================================================================== RCS file: /cvs/public/mcs/mcs/ChangeLog,v retrieving revision 1.509 diff -u -r1.509 ChangeLog --- ChangeLog 13 Jun 2002 13:09:18 -0000 1.509 +++ ChangeLog 15 Jun 2002 01:12:12 -0000 @@ -1,3 +1,8 @@ +2002-06-14 Rachel Hestilow <[EMAIL PROTECTED]> + + * expression.cs (Unary.ResolveOperator): Use TypeManager + to resolve the type. + 2002-06-13 Ravi Pratap <[EMAIL PROTECTED]> * cs-parser.jay (enum_member_declaration): Pass in the attributes Index: expression.cs =================================================================== RCS file: /cvs/public/mcs/mcs/expression.cs,v retrieving revision 1.276 diff -u -r1.276 expression.cs --- expression.cs 13 Jun 2002 00:16:03 -0000 1.276 +++ expression.cs 15 Jun 2002 01:12:16 -0000 @@ -428,15 +428,8 @@ return null; } - // - // This construct is needed because dynamic types - // are not known by Type.GetType, so we have to try then to use - // ModuleBuilder.GetType. - // string ptr_type_name = Expr.Type.FullName + "*"; - type = Type.GetType (ptr_type_name); - if (type == null) - type = CodeGen.ModuleBuilder.GetType (ptr_type_name); + type = TypeManager.LookupType (ptr_type_name); return this; }
