Issue 5005 in pharo: MessageNotUnderstood: ByteSymbol>>run:with:in:

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

Issue 5005 in pharo: MessageNotUnderstood: ByteSymbol>>run:with:in:

pharo
Status: Accepted
Owner: marianopeck
CC: [hidden email]

New issue 5005 by marianopeck: MessageNotUnderstood:  
ByteSymbol>>run:with:in:
http://code.google.com/p/pharo/issues/detail?id=5005


Latest update: #14232

Steps to reproduce:
1. ScriptLoader new cleanUpForRelease


What I don't understand is that in

scanFor: anObject
        "Scan the key array for the first slot containing either a nil (indicating  
an empty slot) or an element that matches anObject. Answer the index of  
that slot or raise an error if no slot is found. This method will be  
overridden in various subclasses that have different interpretations for  
matching elements."

        | index start |
        index := start := anObject hash \\ array size + 1.
        [
                | element |
                ((element := array at: index) == nil or: [ element enclosedSetElement =  
anObject ])
                        ifTrue: [ ^index ].
                (index := index \\ array size + 1) = start ] whileFalse.
        self errorNoFreeSpace


the #run:with:in: is send in "anObject hash". However, Object >> #hash has  
A COMPILEDMETHOD, hence I don't understand why the VM sends #run:with:in:

maybe something related to the vm?


_______________________________________________
Pharo-bugtracker mailing list
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-bugtracker
Reply | Threaded
Open this post in threaded view
|

Re: Issue 5005 in pharo: MessageNotUnderstood: ByteSymbol>>run:with:in:

pharo

Comment #1 on issue 5005 by marianopeck: MessageNotUnderstood:  
ByteSymbol>>run:with:in:
http://code.google.com/p/pharo/issues/detail?id=5005

The thing is that if I don't execute ScriptLoader new cleanUpForRelease  
before, then I can do HashedCollection rehashAllInstances without  
problems...


_______________________________________________
Pharo-bugtracker mailing list
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-bugtracker