[Vm-dev] WideSymbol>>#privateAt:put: fails silently

David T. Lewis lewis at mail.msen.com
Mon Jan 8 12:44:52 UTC 2018


On Mon, Jan 08, 2018 at 11:36:54AM +0100, Norbert Hartl wrote:
>  
> If you inspect
> 
> ('hello', (Character codePoint: 8002) asString) asSymbol 
> 	privateAt: 1 put: $q;
> 	yourself.
> 
> The symbol is not modified but also it raises no error. Shouldn???t that be the case?
> 

Is this a Pharo question?

In Squeak (64 bit Spur) there is no privateAt:put: and at:put: raises errorNoModification
as expected for a WideSymbol.

Dave



More information about the Vm-dev mailing list