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
PluggableSet inherits from Set which inherits from UnorderedCollection ... and I suspect that all UnorderedCollections will fail ... in fact it might be that only Array works properly?
Stumbled across the same issue. PluggableSet has no methods at all, this is rather suspicious anyway. I guess this has been forgotten when porting from Squeak's code (since it is in the Squeak package)?
The single user of PluggableSet is the method PluggableDictionary>>keys. Like in @JupiterJones example, this only yields to a DNU if you do groupedBy: followed by keys.
My temporary workaround sledgehammer solution, redefine the method, not using PluggableSet at all:
(#( 1 2 3 4 ) groupedBy: [ :i | i even ]) keys
This throws a DNU since PluggableSet has no accessors for hashBlock (or equalsBlock).
The text was updated successfully, but these errors were encountered: