<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>
      &nbsp;&nbsp;&nbsp; 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&gt;&gt;mostRecent<br>
      &nbsp;&nbsp;&nbsp; [methodReferences notEmpty and: [methodReferences last isValid
      not]]<br>
      &nbsp;&nbsp;&nbsp; whileTrue: [methodReferences removeLast].<br>
      &nbsp;&nbsp;&nbsp; ^ 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&gt;&gt;event: anEvent<br>
      &nbsp;&nbsp;&nbsp; "Hook for SystemChangeNotifier"<br>
      <br>
      &nbsp;&nbsp;&nbsp; (anEvent isCommented and: [anEvent itemKind =
      SystemChangeNotifier classKind])<br>
      &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; ifTrue: [self recordSelector: #Comment forClass: anEvent
      item inEnvironment: anEvent environment].<br>
      &nbsp;&nbsp;&nbsp; ((anEvent isAdded or: [anEvent isModified]) and: [anEvent
      itemKind = SystemChangeNotifier methodKind])<br>
      &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; ifTrue: [<br>
      &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; anEvent itemRequestor<br>
      &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; ifNotNil: [<b>self recordSelector: anEvent
        itemSelector forClass: anEvent itemClass inEnvironment: anEvent
        environment</b>].<br>
      &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; InMidstOfFileinNotification signal<br>
      &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; 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&gt;&gt;actualClass <br>
      &nbsp;&nbsp;&nbsp; ^self environment at: classSymbol ifPresent: [ :actualClass |<br>
      &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; classIsMeta<br>
      &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; ifTrue: [ actualClass classSide ]<br>
      &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; ifFalse: [ actualClass ] ]<br>
      <br>
      so, this just returns nil and the *invalid* MR is removed.<br>
      <br>
      Cheers,<br>
      Bob<br>
    </font>
  </body>
</html>