am 02effee6: Correctly compute the type of an assignment expression.

Merge commit '02effee6a9224b531cb3fe6eac8278b46b9fbe86' into eclair-mr2

* commit '02effee6a9224b531cb3fe6eac8278b46b9fbe86':
  Correctly compute the type of an assignment expression.