You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This records the ClassModificationApplied announcements during the recompile of T1 to be under Model and the changing it back to be under Object. Before the nil separator entry there are only announcements for T1 and T3. After the nil, there are announcements for all three classes (T1, T2, & T3).
Expected behavior
All three classes should appear before and after the nil entry as all three classes have been recompiled.
Version information:
Pharo 10, 11, & 12
Expected development cost
Here's a potential fix:
Copy TraitBuilderEnhancer>>#allSlotsForBuilder: to create a TraitBuilderEnhancer>>#slotsForBuilder:
Bug description
If you have a traited class, sometimes class changes are not signaled through the
SystemAnnouncer
To Reproduce
Evaluate/inspect this code:
This records the
ClassModificationApplied
announcements during the recompile ofT1
to be underModel
and the changing it back to be underObject
. Before thenil
separator entry there are only announcements forT1
andT3
. After thenil
, there are announcements for all three classes (T1
,T2
, &T3
).Expected behavior
All three classes should appear before and after the
nil
entry as all three classes have been recompiled.Version information:
Expected development cost
Here's a potential fix:
TraitBuilderEnhancer>>#allSlotsForBuilder:
to create aTraitBuilderEnhancer>>#slotsForBuilder:
allSlotsForBuilder:
to use new method:allSlotsForBuilder:
to return all slots:The text was updated successfully, but these errors were encountered: