<div dir="ltr"><div><div>Please note that I intentionnally put the hack in this package, though it belongs to Kernel.<br></div>But Kernel already has a long descendance...<br>Choosing a side package avoid rewriting history and/or weird ancestry and/or the necessity to merge parallel branches.<br></div>Sorry to leave 2 unsuccessful attempts in the trunk, but I think we can live with it.<br></div><div class="gmail_extra"><br><div class="gmail_quote">2017-04-08 17:51 GMT+02:00  <span dir="ltr"><<a href="mailto:commits@source.squeak.org" target="_blank">commits@source.squeak.org</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Nicolas Cellier uploaded a new version of Squeak-Version to project The Trunk:<br>
<a href="http://source.squeak.org/trunk/Squeak-Version-nice.4729.mcz" rel="noreferrer" target="_blank">http://source.squeak.org/<wbr>trunk/Squeak-Version-nice.<wbr>4729.mcz</a><br>
<br>
==================== Summary ====================<br>
<br>
Name: Squeak-Version-nice.4729<br>
Author: nice<br>
Time: 8 April 2017, 5:51:06.804061 pm<br>
UUID: 9bfa711b-9085-4017-bf05-<wbr>9472a75394a9<br>
Ancestors: Squeak-Version-nice.4728<br>
<br>
Renew the hack for restoring updateStream again (see preamble script). This time move #MethodContext binding in Undeclared.<br>
<br>
=============== Diff against Squeak-Version-nice.4728 ===============<br>
<br>
Item was changed:<br>
  (PackageInfo named: 'Squeak-Version') preamble: '"This is a hack to finalize #MethodContext -> Context renaming.<br>
  The #bootstrapContext left two problems:<br>
  1) there is a binding #MethodContext => Context.<br>
  2) ContextPart still think it has Context as subclass, though this one changed its superclass.<br>
  We must make sure that the removal of these class won''t destroy Context."<br>
<br>
+ Smalltalk globals unbind: #MethodContext.<br>
+ [Undeclared at: #MethodContext put: Context copy] on: AttemptToWriteReadOnlyGlobal do: [:exc | exc resume: true].<br>
- [Smalltalk globals at: #MethodContext put: Context copy] on: AttemptToWriteReadOnlyGlobal do: [:exc | exc resume: true].<br>
<br>
  ContextPart instVarAt: 6 put: (ContextPart subclasses select: [:e | e superclass = ContextPart])<br>
  '!<br>
<br>
<br>
</blockquote></div><br></div>