hpi-swa-lab / SqueakByExample-english

An introductory book about the Squeak/Smalltalk programming system, guiding students and developers through the environment, language, tools, and the Morphic framework by means of a series of examples and exercises.
https://www.lulu.com/shop/patrick-rein-and-christoph-thiede/squeak-by-example-60/paperback/product-8vr2j2.html
Other
24 stars 6 forks source link

Fix & replace example for `#printOn:` specialization #112

Closed LinqLover closed 2 years ago

LinqLover commented 2 years ago

PackageInfo is a simpler example and more idiomatic by sending super. Also, it has not been changed recently and does not require any \SqVersionSwitch which unfortunately seems to be incompatible with \begin{method}.

LinqLover commented 2 years ago

Ouch, we have a flaky test here 😬

https://github.com/hpi-swa-lab/SqueakByExample-english/runs/5097390703?check_suite_focus=true#step:5:380

But that should not be a problem with this PR.