STB bug in PluggableSet

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

STB bug in PluggableSet

Chris Uppal-3
I think that PluggableSet needs to use a custom STBCollectionProxy or else
instances loose their search policies when they are STBed.

E.g:

    ps := PluggableSet searchPolicy: SearchPolicy caseInsensitive.
    ps searchPolicy.
        "--> a CaseInsensitiveSearchPolicy"
    (Object fromBinaryStoreBytes: ps binaryStoreBytes) searchPolicy.
        "--> an EqualitySearchPolicy"

I assume the same is true for the other pluggable subclasses of Set.

    -- chris


Reply | Threaded
Open this post in threaded view
|

Re: STB bug in PluggableSet

Blair McGlashan
"Chris Uppal" <[hidden email]> wrote in message
news:3e2d769d$0$166$[hidden email]...

> I think that PluggableSet needs to use a custom STBCollectionProxy or else
> instances loose their search policies when they are STBed.
>
> E.g:
>
>     ps := PluggableSet searchPolicy: SearchPolicy caseInsensitive.
>     ps searchPolicy.
>         "--> a CaseInsensitiveSearchPolicy"
>     (Object fromBinaryStoreBytes: ps binaryStoreBytes) searchPolicy.
>         "--> an EqualitySearchPolicy"
>
> I assume the same is true for the other pluggable subclasses of Set.

Thanks Chris, #1133.

Regards

Blair