codegen: Fix array size variable on assignment
commitf4a2bd95c713714c0f7d8e7b53dfd8130416ab28
authorJürg Billeter <j@bitron.ch>
Sat, 2 Apr 2011 16:01:24 +0000 (2 18:01 +0200)
committerJürg Billeter <j@bitron.ch>
Sat, 2 Apr 2011 16:05:32 +0000 (2 18:05 +0200)
treea45c6a336ae1fdf975052dc354a7b6c9d8b9a288
parent4d6eca7a48eef0909dfbd34193b6f15c541b6d96
codegen: Fix array size variable on assignment

The array size of the right-hand side should not be used as the copy may
have a different size.

Fixes bug 646294.
codegen/valaccodeassignmentmodule.vala