[squeak-dev] The Trunk: Squeak-Version-nice.4729.mcz

Nicolas Cellier nicolas.cellier.aka.nice at gmail.com
Sat Apr 8 16:05:35 UTC 2017


Please note that I intentionnally put the hack in this package, though it
belongs to Kernel.
But Kernel already has a long descendance...
Choosing a side package avoid rewriting history and/or weird ancestry
and/or the necessity to merge parallel branches.
Sorry to leave 2 unsuccessful attempts in the trunk, but I think we can
live with it.

2017-04-08 17:51 GMT+02:00 <commits at source.squeak.org>:

> Nicolas Cellier uploaded a new version of Squeak-Version to project The
> Trunk:
> http://source.squeak.org/trunk/Squeak-Version-nice.4729.mcz
>
> ==================== Summary ====================
>
> Name: Squeak-Version-nice.4729
> Author: nice
> Time: 8 April 2017, 5:51:06.804061 pm
> UUID: 9bfa711b-9085-4017-bf05-9472a75394a9
> Ancestors: Squeak-Version-nice.4728
>
> Renew the hack for restoring updateStream again (see preamble script).
> This time move #MethodContext binding in Undeclared.
>
> =============== Diff against Squeak-Version-nice.4728 ===============
>
> Item was changed:
>   (PackageInfo named: 'Squeak-Version') preamble: '"This is a hack to
> finalize #MethodContext -> Context renaming.
>   The #bootstrapContext left two problems:
>   1) there is a binding #MethodContext => Context.
>   2) ContextPart still think it has Context as subclass, though this one
> changed its superclass.
>   We must make sure that the removal of these class won''t destroy
> Context."
>
> + Smalltalk globals unbind: #MethodContext.
> + [Undeclared at: #MethodContext put: Context copy] on:
> AttemptToWriteReadOnlyGlobal do: [:exc | exc resume: true].
> - [Smalltalk globals at: #MethodContext put: Context copy] on:
> AttemptToWriteReadOnlyGlobal do: [:exc | exc resume: true].
>
>   ContextPart instVarAt: 6 put: (ContextPart subclasses select: [:e | e
> superclass = ContextPart])
>   '!
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20170408/b14a8aab/attachment.html>


More information about the Squeak-dev mailing list