[Cuis-dev] Bug in printing a BlockNode with only a nil inside and possible fix

Joel Camera joel.camera at 10pines.com
Wed Apr 8 10:17:12 PDT 2026


Hi folks!
I've found a bug when printing a BlockNode with a nil inside.
When you have a method like

m1 [nil]

And in a Workspace print
   (Clazz>>#m1) methodNode
you'll see that the code printed will be
 m1
  [ ].

I attached a possible solution in BlockNode>>printStatemetsOn:indent: but,
as I don't completely understand the code, perhaps the solution could be
different.

Cheers

<https://10pines.com/>Joel CámeraAgile Software Development

Alem 896, Floor 6, Buenos Aires, Argentina

+54 9 011 6091 3125
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.cuis.st/mailman/archives/cuis-dev/attachments/20260408/d25098af/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 7865-CuisCore-JoelEstebanCamera-2026Apr08-13h52m-JEC.001.cs.st
Type: application/octet-stream
Size: 1532 bytes
Desc: not available
URL: <http://lists.cuis.st/mailman/archives/cuis-dev/attachments/20260408/d25098af/attachment.obj>


More information about the Cuis-dev mailing list