Skip to content

Add CleanBlockClosure Tost support and repoint StateSpecs/ObjectTravel for Pharo 13 - #12

Open
oliveiraallex wants to merge 1 commit into
pharo-ide:masterfrom
oliveiraallex:dev13-fix-baseline
Open

oliveiraallex wants to merge 1 commit into
pharo-ide:masterfrom
oliveiraallex:dev13-fix-baseline

Conversation

@oliveiraallex

Copy link
Copy Markdown
Contributor

Description
On Pharo 13, constant/clean blocks materialize as CleanBlockClosure instances (a dedicated subclass introduced in recent Pharo versions).
TostSerializer had no explicit handling for this class, so those blocks fell through to the generic Object serialization path and failed to round-trip correctly. The new extension gives CleanBlockClosure the same simplified treatment FullBlockClosure already has, since both have no difference in binary representation across 32/64-bit images.

Changes

  • Add TostSerializer/CleanBlockClosure.extension.st: createTostInstanceWith:, writeTostBodyWith:, and correctTostMaterializationWith: for CleanBlockClosure, mirroring the existing support already implemented for FullBlockClosure.
  • BaselineOfTostSerializer: repoint StateSpecs from v5.0.2 to v5.0.4, and ObjectTravel from v1.0.4 to v1.0.5 (target tags of the Pharo 13 dependency chain), referencied on: Update BaselineOfSeamless dependency pointers for Pharo 13 Seamless#56

…l for Pharo 13

- Add TostSerializer/CleanBlockClosure.extension.st (createTostInstanceWith:/writeTostBodyWith:/correctTostMaterializationWith: for CleanBlockClosure, needed on Pharo 13 where constant/clean blocks are CleanBlockClosure instances)
- BaselineOfTostSerializer: repoint StateSpecs to github://dionisiydk/StateSpecs:v5.0.4 and ObjectTravel to github://pharo-ide/ObjectTravel:v1.0.5
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant