The Trunk: Compiler-topa.296.mcz

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

The Trunk: Compiler-topa.296.mcz

commits-2
Tobias Pape uploaded a new version of Compiler to project The Trunk:
http://source.squeak.org/trunk/Compiler-topa.296.mcz

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

Name: Compiler-topa.296
Author: topa
Time: 15 March 2015, 11:25:01.745 pm
UUID: 79db1261-d436-4832-b794-ab25d7521fd5
Ancestors: Compiler-topa.295

initially, the encoder is self, but does not know about the classEncoding. Guard this, too

=============== Diff against Compiler-topa.295 ===============

Item was changed:
  ----- Method: Parser>>allowUnderscoreAssignments (in category 'private') -----
  allowUnderscoreAssignments
  "Query class + preference"
+ ^ (encoder ifNotNil: [:e |
+ e == self
+ ifTrue: [nil]
+ ifFalse: [e classEncoding allowUnderscoreAssignments]])
- ^ (encoder ifNotNil: [:e | e classEncoding allowUnderscoreAssignments])
  ifNil: [super allowUnderscoreAssignments]!