Created
July 21, 2010 22:34
-
-
Save jnthn/485246 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- a/src/cheats/parrot/Sub.pir | |
+++ b/src/cheats/parrot/Sub.pir | |
@@ -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 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment