The record is the text of the repair. The Results table is the last run of the row.
CompiledBlock>>#asRingDefinition not understood).MethodStackSignal>>currentStack sends method asRingDefinition
to each context. Context>>method of Pharo 14 answers the CompiledBlock
for a block context, and only CompiledMethod has asRingDefinition.fixes/pharo-project-pharo-beacon.st uses
Context>>homeMethod.Load the package into a Pharo 14 image (build 791) with the load expression of the test run, file in the fixes file of the row if there is one, and run the test classes of the package.
"row 29"
Metacello new baseline: 'Beacon'; repository: 'github://pharo-project/pharo-beacon:master/src'; onConflict: [:e | e useIncoming]; load: #('default').Last result of the package run (stock Cog and iospharo on the same image).
| Row | Label | Load | Stock Cog | iospharo VM |
|---|---|---|---|---|
| 29 | pharo-project-pharo-beacon | ok | tests=20 P=20 F=0 E=0 S=0 T=0 X=0 | tests=20 P=20 F=0 E=0 S=0 T=0 X=0 |
"Beacon (pharo-project/pharo-beacon): MethodStackSignal>>currentStack calls 'each method asRingDefinition' on every context of the stack. In Pharo 14 Context>>method answers the CompiledBlock for a block context (Context>>method comment: use compiledCode, 'it can be CompiledMethod or a CompiledBlock'), and CompiledBlock does not understand #asRingDefinition (only CompiledMethod has it, Ring-Definitions-Core/CompiledMethod.extension.st). Every stack that contains a block frame (all test runs: TestCase>>runCase blocks) fails with 'CompiledBlock >> #asRingDefinition' DNU. The signal documents that it stores the method definitions of the stack, so a block frame maps to its home method: CompiledBlock>>method (outerCode method) answers the CompiledMethod, and CompiledMethod>>method answers self." fix value: #MethodStackSignal value: #currentStack value: [ :source | source includesSubstring: 'each method asRingDefinition' ] value: 'currentStack ^ self relevantStackWithoutSelf collect: [ :each | each homeMethod asRingDefinition ]'.
State of 2026-11-20. Made from the test records of the iospharo project (a second Pharo VM). The fixes are proposals for review.