Oct. 6, 2010
9:13 p.m.
On 06.10.2010 22:56, James Ladd wrote:
Hi All,
Currently im running the Redline Smalltalk compiler (http://redline.st) over the Pharo source to make sure that it is compatible with Pharo.
What I noticed while compiling the class BitBlt is that an instance variable is also used as a method argument name!
If you try and do this with the environment you get a "name already defined" error, yet it is in the source.
Not sure what to do about it?
Rgs, James. The compiler has been changed to be more strict about shadowing inst vars, but code which has not been since the change was made may still exist.
Submit a bug to the tracker mentioning the affected method, and it will be fixed. Cheers, Henry