* statement.cs (SwitchLabel.ResolveAndReduce): In the string case,
it was important that we stored the right value after the
reduction in `converted'.
svn path=/trunk/mcs/; revision=7230
+2002-09-03 Miguel de Icaza <miguel@ximian.com>
+
+ * statement.cs (SwitchLabel.ResolveAndReduce): In the string case,
+ it was important that we stored the right value after the
+ reduction in `converted'.
+
2002-09-04 Martin Baulig <martin@gnome.org>
* location.cs (Location.SymbolDocument): Use full pathnames for the
if (e is StringConstant || e is NullLiteral){
if (required_type == TypeManager.string_type){
- converted = label;
+ converted = e;
ILLabel = ec.ig.DefineLabel ();
return true;
}