The record is the text of the repair. The Results table is the last run of the row.
InstanceCreationFailed: The amount of model creators (3) should match the amount of arguments (4)).GenericModelCreator class>>assertSizeOf:equalsArgumentCountOf:
sends argumentCount to a Symbol. Stardust relied on the extension
Symbol>>argumentCount of Buoy, which answers numArgs. That extension
replaces a method of Pharo 14, and our Buoy patch removes it so that Buoy
loads. The method of Pharo 14 answers numArgs + 1 (a Symbol in the
place of a block).patches/ba-st-stardust.patch uses numArgs in the two
places.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 102"
Metacello new baseline: 'Stardust'; repository: 'github://ba-st/Stardust:release-candidate/source'; onConflict: [:e | e useIncoming]; load: #('Tests').Last result of the package run (stock Cog and iospharo on the same image).
| Row | Label | Load | Stock Cog | iospharo VM |
|---|---|---|---|---|
| 102 | ba-st-stardust | ok | tests=71 P=71 F=0 E=0 S=0 T=0 X=0 | tests=71 P=71 F=0 E=0 S=0 T=0 X=0 |
diff --git a/source/Stardust/GenericModelCreator.class.st b/source/Stardust/GenericModelCreator.class.st
index ea1d209..699abc7 100644
--- a/source/Stardust/GenericModelCreator.class.st
+++ b/source/Stardust/GenericModelCreator.class.st
@@ -18,10 +18,10 @@ Class {
GenericModelCreator class >> assertSizeOf: creators equalsArgumentCountOf: instanceCreationSelector [
AssertionChecker
- enforce: [ creators size = instanceCreationSelector argumentCount ]
+ enforce: [ creators size = instanceCreationSelector numArgs ]
because: [ 'The amount of model creators (<1p>) should match the amount of arguments (<2p>) on the instance creation message: <3p>'
expandMacrosWith: creators size
- with: instanceCreationSelector argumentCount
+ with: instanceCreationSelector numArgs
with: instanceCreationSelector ]
raising: InstanceCreationFailed
]
# Buoy replaces Symbol>>argumentCount of Pharo 14, and the load stops (docs/upstream/package-repairs.md). Buoy ba-st-buoy
State of 2026-11-20. Made from the test records of the iospharo project (a second Pharo VM). The fixes are proposals for review.