Here be dragons! Branch tt761_keys_revamp merged to trunk.

Florian Hatat mininet at wanadoo.fr
Wed Jul 15 16:55:48 UTC 2009


Vasily Chekalkin a écrit :
> Any suggestions how to bring those tests back?

I'd suggest: convert them to PIR, and replace dumping with equality tests.

#'"ast" => PMC 'PAST;Op'  {
#     <pasttype> => "pirop"
#     <pirop> => "add"
#     <lvalue> => "foo"
#     <inline> => "%r = add %0, %1"
#}

becomes:

is(ast["pasttype"], "pirop", "PAST;Op - pasttype")
is(ast["pirop"], "add", "PAST;Op - pirop")

and so on.

I can do it if you like (but probably not before 1.4), and send the
patch on Trac.

-- 
Florian,
http://openweb.eu.org/
http://www.linux-france.org/


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 197 bytes
Desc: OpenPGP digital signature
URL: <http://lists.parrot.org/pipermail/parrot-dev/attachments/20090715/0b8dc85e/attachment.pgp>


More information about the parrot-dev mailing list