Open npapagna opened 2 years ago
please, always post your question cuis-dev@lists.cuis.st . It has more chances to be seen and answered !
please, always post your question cuis-dev@lists.cuis.st . It has more chances to be seen and answered !
Yup! I was writing the email as this comment came in. Thanks for the reminder @nmingotti 🎉
Describe the bug Invoking
Do it
in an object inspector with a selection containing undefined variables fails.To Reproduce
Follow these steps for all scenarios:
Object new
.a _ self. a printString.
.Unknown variable
dialog shows up.1) Block-Local/Method-Local temporary scenario
block-local temp
/method-local temp
Do it
failed, and the source code got messed up:2) Instance variable scenario
instance
Error: a is already defined in a subclass of Object
aaa _ self. aaa printString.
)Object cannot be changed
.Expected behavior I was expecting the evaluation panel in the debugger to behave more like a workspace than a debugger (e.g. to avoid defining instance variables if I am doing experiments with a script).
Screenshots
Block-Local/Method-Local temporary scenario:
https://user-images.githubusercontent.com/1807185/147976949-ac5dc782-836a-4827-b4ca-57e4228cab06.mp4
Instance variable scenario:
https://user-images.githubusercontent.com/1807185/147976983-d8218cd3-43bd-40ff-8f15-e17de8d01568.mp4
Additional context N/A