[squeak-dev] The Trunk: Compiler-ul.401.mcz

commits at source.squeak.org commits at source.squeak.org
Tue Mar 19 18:45:16 UTC 2019

Eliot Miranda uploaded a new version of Compiler to project The Trunk:

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

Name: Compiler-ul.401
Author: ul
Time: 16 March 2019, 11:56:29.899053 pm
UUID: 395adc27-f48e-484c-9097-5197ea3a0155
Ancestors: Compiler-eem.400

- fixed typo

=============== Diff against Compiler-eem.400 ===============

Item was changed:
  ----- Method: ParseNodeWithPrecedingStatementEnumerator>>ofBlock: (in category 'initialize-release') -----
  ofBlock: aBlock
  	"N.B. This enumerator visits a node before any of the node's children.
  	 Hence, when enumewrating statements in a block, we can ensure that
  	 the second argument to the block, the preceeding statement, is non-nil
  	 only for top-level statements in the block by nilling out preceedingStatement
  	 once the block is evaluated. Perhaps stronger would be to capture its value
  	 in a temporary and nil it before evaluating, but this is good enough."
  	theBlock := [:node|
  				aBlock value: node value: precedingStatement.
+ 				precedingStatement := nil]!
- 				preceedingStatement := nil]!

More information about the Squeak-dev mailing list