* expression.cs (ArrayAccess.EmitAssign): Patch from
hwang_rob@yahoo.ca that fixes bug 31834.3
svn path=/trunk/mcs/; revision=8387
+2002-10-19 Miguel de Icaza <miguel@ximian.com>
+
+ * expression.cs (ArrayAccess.EmitAssign): Patch from
+ hwang_rob@yahoo.ca that fixes bug 31834.3
+
+2002-10-18 Miguel de Icaza <miguel@ximian.com>
+
+ * driver.cs: Make the module extension .netmodule.
+
2002-10-16 Miguel de Icaza <miguel@ximian.com>
* driver.cs: Report an error if the resource file is not found
// pair
//
if (rank == 1){
- if (t.IsSubclassOf (TypeManager.value_type) && (!TypeManager.IsBuiltinType (t) || t == TypeManager.decimal_type))
+ if (t == TypeManager.enum_type || t == TypeManager.decimal_type ||
+ (t.IsSubclassOf (TypeManager.value_type) && !TypeManager.IsEnumType (t) && !TypeManager.IsBuiltinType (t)))
ig.Emit (OpCodes.Ldelema, t);
}