[squeak-dev] The Trunk: Compiler-topa.295.mcz

Tobias Pape Das.Linux at gmx.de
Fri Mar 13 00:41:29 UTC 2015


Hey,


On 13.03.2015, at 00:34, commits at source.squeak.org wrote:

> Tobias Pape uploaded a new version of Compiler to project The Trunk:
> http://source.squeak.org/trunk/Compiler-topa.295.mcz
> 
> ==================== Summary ====================
> 
> Name: Compiler-topa.295
> Author: topa
> Time: 13 March 2015, 1:34:26.208 am
> UUID: f2727a06-5024-4534-bf38-934bcdad9bf9
> Ancestors: Compiler-bf.294
> 
> Fix underscore message names when the #parseSelector: api of Parser is used and, hence, no encoder is available.
> 
> =============== Diff against Compiler-bf.294 ===============
> 
> Item was changed:
>  ----- Method: Parser>>allowUnderscoreAssignments (in category 'private') -----
>  allowUnderscoreAssignments
>  	"Query class + preference"
> + 	^ (encoder ifNotNil: [:e | e classEncoding allowUnderscoreAssignments])
> + 		ifNil: [super allowUnderscoreAssignments]!
> - 	^encoder classEncoding allowUnderscoreAssignments
> - 		ifNil:[super allowUnderscoreAssignments]!

To be frank, this is a bit of a hack, because the class's opinion on #allowUnderscoreAssignments
is regrettably ignored. But this is better than an MNU on nil I think…

Best
	-Tobias


More information about the Squeak-dev mailing list