[Pharo-dev] Mocketry problems in 3.0

Marcus Denker marcus.denker at inria.fr
Fri Oct 11 15:25:13 EDT 2013

On Oct 11, 2013, at 9:20 PM, Camillo Bruni <camillobruni at gmail.com> wrote:

> I recently checked the progress on TxText and I saw that half of the tests fail 
> under 3.0 due to an incompatibility in Mocketry on BlockClosure>>#argumentNames
> trying to decompile the block contents. This feature is no longer available, 
> instead you have to access the AST directly:
> BlockClosure >> #argumentNames
> 	^ self sourceNode arguments collect: [ :each | each name ]
> Would it be possible to integrate that on a 3.0 branch? It's quite a pity to
> waste so many tests :)

We can add #argumentNames on block in Pharo3… makes sense to have.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 203 bytes
Desc: Message signed with OpenPGP using GPGMail
URL: <http://lists.pharo.org/pipermail/pharo-dev_lists.pharo.org/attachments/20131011/5b880123/attachment.asc>

More information about the Pharo-dev mailing list