[squeak-dev] The Trunk: Compiler-eem.485.mcz

commits at source.squeak.org commits at source.squeak.org
Fri Jan 13 00:59:50 UTC 2023


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

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

Name: Compiler-eem.485
Author: eem
Time: 12 January 2023, 4:59:47.97574 pm
UUID: f3ee1919-f5a8-4228-9b2f-910ba2e5b243
Ancestors: Compiler-eem.484

Fix the parser dropping the last comment of a method, by ensuring it never assigns a nil comment.

=============== Diff against Compiler-eem.484 ===============

Item was changed:
  ----- Method: Parser>>addComment (in category 'private') -----
  addComment
  
+ 	(parseNode ~~ nil
+ 	 and: [currentComment ~~ nil])
- 	parseNode ~~ nil
  		ifTrue: 
  			[parseNode comment: currentComment.
  			currentComment := nil]!



More information about the Squeak-dev mailing list