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

commits at source.squeak.org commits at source.squeak.org
Sat Apr 8 15:51:14 UTC 2017


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])
  '!



More information about the Packages mailing list