A stale executable comment (2026-11-17). DocCommentsReleaseTest builds one test for each executable comment of the image (expression >>> expected value). The comment of Context class>>tallyInstructions: says that the simulation of `3.14159 printString` uses 120 different bytecodes. The image gives 131 on stock Cog with a pristine image and on our VM. The number changes each time the code of Float printing or the compiler changes, so an exact number in the comment goes out of date. The comment now shows the use of the method with an expected value that does not depend on that code. The runners before run_sunit.st did not show this failure: they ran one test of the class, not the test of each comment.
"Run in a Playground of a Pharo 14 image (Do it and print each line)." ((DocCommentsReleaseTest selector: #testExecutableCommentsAreValid) run) printString.
How to apply an entries file: file in 00-header.st and the entries file as one chunk (the iospharo script scripts/gen-image-fixes.py makes that chunk). Each entry checks for the defect first and prints FIXED, ADDED or SKIP. Download 00-header.st.
"A stale executable comment (2026-11-17). DocCommentsReleaseTest builds one test for each executable comment of the image (expression >>> expected value). The comment of Context class>>tallyInstructions: says that the simulation of `3.14159 printString` uses 120 different bytecodes. The image gives 131 on stock Cog with a pristine image and on our VM. The number changes each time the code of Float printing or the compiler changes, so an exact number in the comment goes out of date. The comment now shows the use of the method with an expected value that does not depend on that code. The runners before run_sunit.st did not show this failure: they ran one test of the class, not the test of each comment." fix value: #'Context class' value: #tallyInstructions: value: [ :source | source includesSubstring: '[3.14159 printString]) size >>> 120' ] value: ((Context class >> #tallyInstructions:) sourceCode copyReplaceAll: '[3.14159 printString]) size >>> 120' with: '[3.14159 printString]) notEmpty >>> true').
State of 2026-11-20. Made from the test records of the iospharo project (a second Pharo VM). The fixes are proposals for review.