cache = {}
capture = function(what){
cache[what] = what
} |
Exposer logName: #capture.
[ '1+2+3+4+5+6+7+8+9+0+1+2+3+4+5+6+7+8+9+0+1+2+3+4+5+6+7+8+9+0+1+2+3+4+5+6+7+8+9+0'
doIt;doIt;doIt
] trace.
(JS @ #{cache}) propertyNames sorted asLiteral |
result collect: [:key| | stream cls selector | stream := key stream. cls := (stream upTo: #__) asArrayOfSubstringsSeparatedBy: $_. cls := cls size = 1 ifTrue: [ Smalltalk at: cls first ] ifFalse: [ (Smalltalk at: cls first) perform: cls second ]. selector := stream upToEnd asStSelector. cls >> selector ] |
| [E8] Activated methods list, [E8] Activated methods by class |
| [E8] Required classes (st/js) |
result inject: '' into: [:total :mth| total , (Exporter new fileOutMethod: mth) ] |
| [E8] Activated Methods (chunk format) |
Exporter exportAll: result |
| [E8] Activated Methods (javascript) |
| Note that this procedure has been cancelled because we have found a way to instantiate the bug with a simple expression. WITHOUT involving the Compiler! |