WideString instance asSymbol is broken
nicolas cellier
ncellier at ifrance.com
Sat Aug 5 10:10:55 UTC 2006
Le Samedi 05 Août 2006 10:05, John M McIntosh a écrit :
> 'foo' asWideString asSymbol = #foo -> false
> 'foo' asWideString asSymbol class = #foo class -> true
>
> have fun....
>
> I'll open a mantis report unless someone can talk me out of it.
>
> --
> ========================================================================
> ===
> John M. McIntosh <johnmci at smalltalkconsulting.com>
> Corporate Smalltalk Consulting Ltd. http://www.smalltalkconsulting.com
> ========================================================================
> ===
Maybe this is a requested feature so as still having fast == comparison of
Symbols...
In that case, Symbol must coerce to WideSymbol if and only if it contains
characters not encodable in a single byte...
BTW, what is the encoding of ByteSymbol ?
Nicolas
More information about the Squeak-dev
mailing list
|