<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=ISO-8859-1">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<font face="Georgia">I got fully up-to-date this am, started making
some changes, went to look at recent submissions and was told
there were none.<br>
<br>
Seems like<br>
<br>
RecentMessages startUp<br>
<br>
would have been a useful inclusion somewhere in the update
process. So, I did that, made some more changes and asked for
recent submissions again. This time walkback in<br>
<br>
RecentMessages>>mostRecent<br>
[methodReferences notEmpty and: [methodReferences last isValid
not]]<br>
whileTrue: [methodReferences removeLast].<br>
^ methodReferences last.<br>
<br>
the reason being that none of the </font><font face="Georgia">methodReferences
were valid, all got removed and #last failed. <br>
<br>
Why weren't they valid?<br>
<br>
RecentMessages>>event: anEvent<br>
"Hook for SystemChangeNotifier"<br>
<br>
(anEvent isCommented and: [anEvent itemKind =
SystemChangeNotifier classKind])<br>
ifTrue: [self recordSelector: #Comment forClass: anEvent
item inEnvironment: anEvent environment].<br>
((anEvent isAdded or: [anEvent isModified]) and: [anEvent
itemKind = SystemChangeNotifier methodKind])<br>
ifTrue: [<br>
anEvent itemRequestor<br>
ifNotNil: [<b>self recordSelector: anEvent
itemSelector forClass: anEvent itemClass inEnvironment: anEvent
environment</b>].<br>
InMidstOfFileinNotification signal<br>
ifFalse: [Utilities changed:
#recentMethodSubmissions]].<br>
<br>
the change is being gathered with an environment copied from the
event, but an event's notion of environment is something rather
different from what MethodReference is expecting:<br>
<br>
MethodReference>>actualClass <br>
^self environment at: classSymbol ifPresent: [ :actualClass |<br>
classIsMeta<br>
ifTrue: [ actualClass classSide ]<br>
ifFalse: [ actualClass ] ]<br>
<br>
so, this just returns nil and the *invalid* MR is removed.<br>
<br>
Cheers,<br>
Bob<br>
</font>
</body>
</html>