Mantis - Squeak
Viewing Issue Advanced Details
7764 Traits major always 05-01-13 13:20 05-03-13 12:39
FrankShearar  
FrankShearar  
normal  
resolved trunk  
fixed  
none    
none  
0007764: Cannot alias binary message names
Object subclass: MyObject
    uses: TMyTrait @ {#* -> #+}
    <etc>

upon accepting is turned into

Object subclass: MyObject
    uses: TMyTrait @ {#*->#+}
    <etc>

which does not parse (because you have a Symbol #*-> followed by rubbish; # is not valid in a Symbol without quotes).

Notes
(0014351)
FrankShearar   
05-02-13 09:09   
This is because an Association prints in a manner that can potentially not be evaluated. In particular, if the key is a binary selector, the printed form will be broken.
(0014352)
FrankShearar   
05-02-13 09:10   
* http://source.squeak.org/inbox/Collections-fbs.516.mcz [^]
* http://source.squeak.org/inbox/CollectionsTests-fbs.203.mcz [^]
(0014353)
FrankShearar   
05-03-13 12:39   
Collections-fbs.517.mcz in Trunk fixes this.