[squeak-dev] Hang up your image using primitive 118

Thiede, Christoph Christoph.Thiede at student.hpi.uni-potsdam.de
Sat Mar 20 18:25:03 UTC 2021


ar := #(118 nil) copy.
ar at: 2 put: ar.
2 tryPrimitive: 118 withArgs: ar. "Crash!"


I'm not sure whether I should be glad that 118 has no arbitrary limitations on recursion, or whether I should be sad because the image crashes. I think I'll decide for the first option. :-)


BTW: The example also infinite-loops as expected in the simulator. Nice work!


Best,

Christoph
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20210320/f806c1c0/attachment.html>


More information about the Squeak-dev mailing list