On Tue, Mar 18, 2014 at 10:10 AM, Christophe Demarey <Christophe.Demarey@inria.fr> wrote:
Why arguments should be read only?They are just temporary variables with an initial value.Read the blue book. It was a decision of the language designers to forbid assignment to arguments to allow debugging. The assignment to block arguments is a side-effect of the old BlockContext implementation of blocks where block arguments were mapped onto temporary variables of the home context. It is an anachronism and should be forbidden also.