Christoph Thiede uploaded a new version of Kernel to project The Inbox: http://source.squeak.org/inbox/Kernel-ct.1548.mcz
==================== Summary ====================
Name: Kernel-ct.1548 Author: ct Time: 30 December 2023, 8:57:59.873665 pm UUID: 0b32cb51-9e96-d247-be53-734ad1f2735f Ancestors: Kernel-ct.1545
Proposal: Resolves #mustBeBoolean errors for copies or proxies for true and false.
For instance, the following now works:
True basicNew ifTrue: [1] ifFalse: [2]. (ObjectTracer on: false) ifTrue: [1] ifFalse: [2].
See: https://lists.squeakfoundation.org/archives/list/squeak-dev@lists.squeakfoun...
=============== Diff against Kernel-ct.1545 ===============
Item was added: + ----- Method: False>>mustBeBooleanIn: (in category 'as yet unclassified') ----- + mustBeBooleanIn: aContext + + aContext skipBackBeforeJump. + ^ false!
Item was added: + ----- Method: ObjectTracer>>mustBeBoolean (in category 'very few messages') ----- + mustBeBoolean + "Overwritten to preserve original sender context." + + ^ self mustBeBooleanIn: thisContext sender!
Item was added: + ----- Method: True>>mustBeBooleanIn: (in category 'as yet unclassified') ----- + mustBeBooleanIn: aContext + + aContext skipBackBeforeJump. + ^ true!
squeak-dev@lists.squeakfoundation.org