I had this semester a lot of students having the same problem… I’m +1 to fix it.
> On 8 dic 2015, at 5:19 p.m., Nicolai Hess <[email protected]> wrote: > > Object := nil > > you can evaluate that piece of code, but afterwards .... > > Opal checks for assignments to read only variables (method arguments for > example) > and signals an error if you try to modify those vars. > But it does not check globals. > > Should all Globals (OCLiteralVariable with isGlobalVar == true) be read only ? > or can we distinguish global vars and class bindings? >
