[Pkg] The Trunk: Compiler-cmm.315.mcz

commits at source.squeak.org commits at source.squeak.org
Thu Oct 8 15:16:29 UTC 2015

Chris Muller uploaded a new version of Compiler to project The Trunk:

==================== Summary ====================

Name: Compiler-cmm.315
Author: cmm
Time: 8 October 2015, 10:16:18.018 am
UUID: 381c9206-c555-4633-a1ec-499bb3bd747a
Ancestors: Compiler-eem.309

Resave change from Tobias with cleaned-up ancestry..

=============== Diff against Compiler-eem.309 ===============

Item was changed:
  ----- Method: Encoder>>bindTemp:in: (in category 'temps') -----
  bindTemp: name in: methodSelector
  	"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 already used in this method']
- 			ifTrue:[^self notify:'Name is already defined']
  				show: '(', name, ' is shadowed in "' , cue getClass printString , '>>' , methodSelector printString , '")']].
  	^self reallyBind: name!

More information about the Packages mailing list