March 3, 2010
3:58 p.m.
Jorge Ressia wrote:
We tested it with Lukas and is working fine. However, we should see that there are no further side effects.
I can't check right now, but I suspect it is the cause of this side-effect - you cannot use the same block variable name in the same method. E.g. foobar collectionA do: [:each | each foo]. collectionB do: [:each | each bar]. I get a syntax error on the second "each". Is this considered shadowing? -- Yanni