[Newbies] shadowed

Tobias Pape Das.Linux at gmx.de
Mon Jun 2 16:35:48 UTC 2014


Hi Joe


On 02.06.2014, at 18:17, Joseph J Alotta <joseph.alotta at gmail.com> wrote:

> I am getting these messages on my Transcript.
> 
> What does "is shadowed" mean?
> 

'shadowed' means that you use a temporary variable
'sortbybank' in House>>#report4a when somewhere in House or its superclasses
is there is an instance variable of the same name.
(same for array).

Best
	-Tobias

> Sincerely,
> 
> Joe.
> 
> 
> 
> 
> 
> House>>report4a(sortbyrank is shadowed)
> House>>report4a(sortbyrank is shadowed)
> House>>report4a(sortbyrank is shadowed)
> House>>report4a(sortbyrank is shadowed)
> House>>report4a(sortbyrank is shadowed)
> House>>report4a(sortbyrank is shadowed)
> House>>loadSecurities:(array is shadowed)
> _______________________________________________
> Beginners mailing list
> Beginners at lists.squeakfoundation.org
> http://lists.squeakfoundation.org/mailman/listinfo/beginners

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 1625 bytes
Desc: Message signed with OpenPGP using GPGMail
Url : http://lists.squeakfoundation.org/pipermail/beginners/attachments/20140602/45a68a2b/signature.pgp


More information about the Beginners mailing list