Status: FixToInclude
Owner:
[hidden email]
Labels: Milestone-1.3
New issue 4261 by
[hidden email]: Fixed checksForSlips manipulating
strings and pretending they are methodReferences....
http://code.google.com/p/pharo/issues/detail?id=4261Smalltalk is not about string manipulation but about objects!
Here is the right code that match with method comments
checkForSlips
"Return a collection of method refs with possible debugging code in them."
| slips |
slips := OrderedCollection new.
self changedClasses do:
[:aClass |
(self methodChangesAtClass: aClass name) associationsDo:
[:mAssoc | | method | (#(remove addedThenRemoved) includes: mAssoc
value) ifFalse:
[method := aClass compiledMethodAt: mAssoc key ifAbsent: [nil].
method ifNotNil:
[method hasReportableSlip
ifTrue: [ slips add: (aClass >> mAssoc key) methodReference ]]]]].
^ slips
_______________________________________________
Pharo-bugtracker mailing list
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-bugtracker