[squeak-dev] The Trunk: Tools-ct.1095.mcz
commits at source.squeak.org
commits at source.squeak.org
Thu Dec 16 22:12:45 UTC 2021
Christoph Thiede uploaded a new version of Tools to project The Trunk:
http://source.squeak.org/trunk/Tools-ct.1095.mcz
==================== Summary ====================
Name: Tools-ct.1095
Author: ct
Time: 16 December 2021, 11:12:11.351987 pm
UUID: 90a23426-16d3-6e49-bf5e-5c738ad9f049
Ancestors: Tools-ct.1094
Makes "stack top" field in the context variables inspector editable. Useful for mocking return values after a context was popped.
=============== Diff against Tools-ct.1094 ===============
Item was changed:
----- Method: ContextVariablesInspector>>fieldStackTop (in category 'fields') -----
fieldStackTop
^ (self newFieldForType: #stackTop key: #stackTop)
name: self stackTopTranslated; emphasizeName;
valueGetter: [:ctxt | ctxt top];
valueGetterExpression: 'ThisContext top';
+ valueSetter: [:ctxt :value | ctxt pop; push: value];
+ valueSetterExpression: '[:value | ThisContext pop; push: value]';
yourself!
More information about the Squeak-dev
mailing list
|