2004-02-07 Miguel de Icaza <miguel@ximian.com>
authorMiguel de Icaza <miguel@gnome.org>
Sat, 7 Feb 2004 05:54:15 +0000 (05:54 -0000)
committerMiguel de Icaza <miguel@gnome.org>
Sat, 7 Feb 2004 05:54:15 +0000 (05:54 -0000)
commitf433cdd7af95439d39a234139642994de8f31ca0
treead4505c5e7a99a7eab3de22a26e906a20439f835
parent02499c70fd79dab9444e3b0c0503002093909524
2004-02-07  Miguel de Icaza  <miguel@ximian.com>

* assign.cs (Assign.DoResolve): When dealing with compound
assignments, there is a new rule in ECMA C# 2.4 (might have been
there before, but it is documented here) that states that in:

a op= b;

If b is of type int, and the `op' is a shift-operator, then the
above is evaluated as:

a = (int) a op b

svn path=/trunk/mcs/; revision=22854
mcs/mcs/ChangeLog
mcs/mcs/assign.cs