[Pharo-project] debug it in the debugger bring a halt.
Sept. 27, 2010
4:38 p.m.
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
5786
Age (days ago)
5786
Last active (days ago)
0 comments
1 participants
participants (1)
-
Stéphane Ducasse