compileSelectionFor: anObject in: evalContext
        | methodNode method failed |
         failed :=  false.
        methodNode :=  
                [
                        Compiler new
                        compileNoPattern: self selectionAsStream
                        in: anObject class
                        context: evalContext
                        notifying: self
                        ifFail: [ failed :=  true ] ]
                on: OutOfScopeNotification
                do: [:ex | ex resume: true].
        failed ifTrue: [ ^ nil ].       
        self halt: 'old generate: use'.
        method := methodNode generate: #(0 0 0 0).
        ^method copyWithTempsFromMethodNode: methodNode

clearly a bad use of halt instead of deprecated.

Fixed in 3007

Stef



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

Reply via email to