md: reposting as an [ENH]
from preamble:
"Change Set: shadowed-mir Date: 17 January 2004 Author: Michael Rueger
Makes the recompile provide sueful information about where a variable is shadowed."!
At 5:07 PM +0200 9/30/04, denker@iam.unibe.ch wrote:
md: reposting as an [ENH]
from preamble:
"Change Set: shadowed-mir Date: 17 January 2004 Author: Michael Rueger
Makes the recompile provide sueful information about where a variable is shadowed."!
Content-disposition: attachment;filename="shadowed-mir.cs.gz"
In this fileout there is a method, Encoder >> bindTemp:, which appears to have some debugging code inadvertently left in it -- note the "Transcript halt show: ..." after the ifFalse: ;-)
Cheers,
-- Scott
--------------
bindTemp: name "Declare a temporary; error not if a field or class variable."
scopeTable at: name ifPresent:[:node| "When non-interactive raise the error only if its a duplicate" (node isTemp or:[requestor interactive]) ifTrue:[^self notify:'Name is already defined'] ifFalse:[Transcript halt show: '(', name, ' is shadowed in "' , class printString, '")']]. ^ self reallyBind: name
squeak-dev@lists.squeakfoundation.org