#BUGFIX by cg
class: MCDefinition
added: #addChangesTo:
don't loose comment changes
--- a/MCDefinition.st Thu Mar 08 00:48:11 2018 +0100
+++ b/MCDefinition.st Thu Mar 08 00:48:19 2018 +0100
@@ -118,6 +118,15 @@
!MCDefinition methodsFor:'converting'!
+addChangesTo:aChangeSet
+ "some MCDefinitions will result in multiple changes
+ (i.e. ClassDefinitionChange might also generate a comment change).
+ The default here is to add the one major change (which was also generated in the past).
+ Warning: callers of asChange should change their mind and use this."
+
+ aChangeSet add:self asChange
+!
+
asChange
"raise an error: must be redefined in concrete subclass(es)"