[prev in list] [next in list] [prev in thread] [next in thread]
List: squeak-dev
Subject: [squeak-dev] The Trunk: KernelTests-ct.448.mcz
From: commits () source ! squeak ! org
Date: 2024-02-26 14:58:37
Message-ID: 20240226145843.036BB5840DE () mail ! squeak ! org
[Download RAW message or body]
Christoph Thiede uploaded a new version of KernelTests to project The Trunk:
http://source.squeak.org/trunk/KernelTests-ct.448.mcz
==================== Summary ====================
Name: KernelTests-ct.448
Author: ct
Time: 30 December 2023, 8:52:58.484665 pm
UUID: 01009ca0-df8f-7245-9e58-56846dcbbd70
Ancestors: KernelTests-jar.447
Complements Kernel-ct.1546 (fixes stepping through #mustBeBoolean errors and \
restarting from primitive methods that no longer fail).
=============== Diff against KernelTests-jar.447 ===============
Item was added:
+ ----- Method: ContextTest>>testRestartCallPrimitive (in category 'tests') -----
+ testRestartCallPrimitive
+
+ | array context start |
+ array := Array new: 0.
+ context := [[array at: 1] value] asContext.
+ [context selector = #at:] whileFalse: [context := context step].
+ start := context sender.
+
+ array become: (Array with: 42).
+ context privRefresh.
+ context := context stepToSendOrReturn.
+
+ self assert: start equals: context.
+ self assert: context willReturn.
+ self assert: 42 equals: context top.!
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic