[M3commit] [modula3/cm3] eb79e7: Fix countless bugs in throwaway testing package Se...

GitHub noreply at github.com
Sat Aug 13 22:17:39 CEST 2016


  Branch: refs/heads/master
  Home:   https://github.com/modula3/cm3
  Commit: eb79e7587736b115b5f055db81f846a1a4c6026f
      https://github.com/modula3/cm3/commit/eb79e7587736b115b5f055db81f846a1a4c6026f
  Author: Rodney Bates <rodney.m.bates at acm.org>
  Date:   2016-08-13 (Sat, 13 Aug 2016)

  Changed paths:
    M m3-libs/ordsets/ordsets/src/Sets.i3
    M m3-libs/ordsets/ordsets/src/Sets.m3

  Log Message:
  -----------
  Fix countless bugs in throwaway testing package Sets.[im]3

Sets.[im]3 always was a throwaway package, hastily cobbled up from
something older and must simpler, just to test OrdSets, for equal
behavour.  But, it and OrdSets ran many times, producing matching
results, giving both some credibility.  Now, bugs had shown up
all over the place in Sets, running what seems to be the same
test.  How this happened, I have no clue, but it's not worth
ferreting out.


  Commit: f7d46681c199c85f388144c0ac0fe9ac1c225b1a
      https://github.com/modula3/cm3/commit/f7d46681c199c85f388144c0ac0fe9ac1c225b1a
  Author: Rodney Bates <rodney.m.bates at acm.org>
  Date:   2016-08-13 (Sat, 13 Aug 2016)

  Changed paths:
    M m3-libs/libm3/src/pickle/ver2/Pickle2.i3
    M m3-libs/libm3/src/pickle/ver2/Pickle2.m3

  Log Message:
  -----------
  Add some support to Pickles for [un]pickling pseudopointers.

Since the entore pickle mechanism has no knowledge of static types
of references, but runs solely on their dynamic types, there can
be only one way of handling pseudopointers in the entire link
closure of a main program.

Allow registering a special to [un]pickle pseudopointers, detected
by their being an odd byte address.

In the absence of a registered special, [un]pickle them as integers,
with the usual size and endianness conversions.


Compare: https://github.com/modula3/cm3/compare/5f143f2d0009...f7d46681c199


More information about the M3commit mailing list