The record is the text of the repair. The Results table is the last run of the row.
Subscription class>>of:to:toBeNotifiedSending: and
Subscription>>notifyAbout: send argumentCount to a Symbol, as Stardust
does (see the Stardust section).patches/ba-st-kepler.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 107"
Metacello new baseline: 'Kepler'; repository: 'github://ba-st/Kepler:release-candidate/source'; onConflict: [:e | e useIncoming]; load: #('Development').Last result of the package run (stock Cog and iospharo on the same image).
| Row | Label | Load | Stock Cog | iospharo VM |
|---|---|---|---|---|
| 107 | ba-st-kepler | ok | tests=41 P=41 F=0 E=0 S=0 T=0 X=0 | tests=41 P=41 F=0 E=0 S=0 T=0 X=0 |
diff --git a/source/Kepler-Notifications/Subscription.class.st b/source/Kepler-Notifications/Subscription.class.st
index bd48b3c..3b4803c 100644
--- a/source/Kepler-Notifications/Subscription.class.st
+++ b/source/Kepler-Notifications/Subscription.class.st
@@ -19,7 +19,7 @@ Class {
Subscription class >> of: aSubjectOfInterest to: anEventType toBeNotifiedSending: aMessage [
AssertionChecker
- enforce: [ aMessage argumentCount < 2 ]
+ enforce: [ aMessage numArgs < 2 ]
because: 'Selector should have zero or one argument at most'.
^ self new
@@ -51,7 +51,7 @@ Subscription >> message [
{ #category : 'notifying' }
Subscription >> notifyAbout: anEvent [
- message argumentCount = 0
+ message numArgs = 0
ifTrue: [ subscriber perform: message ]
ifFalse: [
subscriber perform: message with: anEvent ]
# 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.