The Trunk: Compiler-eem.338.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-eem.338.mcz

commits-2
Eliot Miranda uploaded a new version of Compiler to project The Trunk:
http://source.squeak.org/trunk/Compiler-eem.338.mcz

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

Name: Compiler-eem.338
Author: eem
Time: 3 April 2017, 4:08:55.888174 pm
UUID: 8d9fa12c-80e0-4ba8-8101-8ead7d8425eb
Ancestors: Compiler-eem.337

Use the newly regularized literal printing in Collections-eem.744 and Kernel-eem.1082 to ensure that literal characters and arrays are printed as such when pretty-rpinting and/or decompiling.

=============== Diff against Compiler-eem.337 ===============

Item was changed:
  ----- Method: LiteralNode>>printOn:indent: (in category 'printing') -----
  printOn: aStream indent: level
 
+ key isVariableBinding ifTrue:
+ [key key isNil
+ ifTrue:
+ [aStream nextPutAll: '###'; nextPutAll: key value soleInstance name]
+ ifFalse:
+ [aStream nextPutAll: '##'; nextPutAll: key key].
+ ^self].
+ key isLiteral ifTrue:
+ [key printAsLiteralOn: aStream.
+ ^self].
+ key storeOn: aStream!
- key isVariableBinding
- ifTrue:
- [key key isNil
- ifTrue:
- [aStream nextPutAll: '###'; nextPutAll: key value soleInstance name]
- ifFalse:
- [aStream nextPutAll: '##'; nextPutAll: key key]]
- ifFalse:
- [key storeOn: aStream]!