Skip to content

Commit

Permalink
Make sure that if the static sub had its $!do changed, all the dynami…
Browse files Browse the repository at this point in the history
…cs also will have that $!do. Makes it possible to fix wrap properly later, but more immediately makes Zavolaj work again.
  • Loading branch information
jnthn committed Jul 22, 2010
1 parent 1d4ba47 commit c633afc
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/cheats/parrot/Sub.pir
Expand Up @@ -44,7 +44,8 @@
$P0 = typeof code
closure = new $P0
transform_to_p6opaque closure
do = clone self
do = getattribute code, '$!do'
do = clone do
$P0 = prophash self
x_setprophash do, $P0
setattribute closure, '$!do', do
Expand Down

0 comments on commit c633afc

Please sign in to comment.