On Sep 29, 2010, at 6:49 PM, Nicolas Cellier wrote:
2010/9/29 Henrik Johansen <henrik.s.johansen@veloxit.no>:
Uhm, this method (and many others in the extensions-category) have been present in their expected-by-Alien form in Pharo since at least 1.0
Probably a better idea to separate the Alien-"Core" into two packages, one which is actually needed, and one which you only need to load in really old Squeak/Cuis images in order to have it work. In which case you probably won't have method trailers either, and generate: #(0 0 0 0) is the proper extension.
CompiledMethodTrailers default or mysterious #(0 0 0 0) codes both are mostly unnecessary. If I want default behaviour, why should I bother to tell what this default is exactly ? Let just call #generate, and obfuscate those details. Squeak Pharo Cuis will handle these better than us (didn't verify Cuis, but quite sure Squeak/Pharo already implement generate).
I added #generate in 3.9 and refactored everything to use it. But the closure code un-did a lot of these as it was coming from an older version (3.7 or 3.8 was the basis of Croquet, I think). Marcus -- Marcus Denker -- http://www.marcusdenker.de INRIA Lille -- Nord Europe. Team RMoD.