See the method
isSpecialWriteBinding
"Return true if this variable binding is write protected, e.g.,
should not be accessed primitively but rather by sending #value:
messages"
^true
And its senders.
That means that a different byte code must be generated in order to
send #value rather than accessing the 2nd inst. var. directly.
Nicolas
2013/3/8 Colin Putney <
[hidden email]>:
> Hi everyone,
>
> One oddity I discovered while working on Environments is that, when a
> binding is converted to read-only or read-write, all the methods that refer
> to that binding are recompiled.
>
> Does anybody know why this is done?
>
> Colin
>
>
>