Skip to content

Commit

Permalink
Make .perl on a Parrot MultiSub not explode when we take .perl of a l…
Browse files Browse the repository at this point in the history
…ist containing it (yes, this patch sucks some...plan to improve .perl a bit on routines soon, though, and this is better than exploding).
  • Loading branch information
jnthn committed Jun 9, 2009
1 parent 5af9cf3 commit f80f12c
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/parrot/misc.pir
Expand Up @@ -52,7 +52,7 @@ Note that we currently do this by adding the method to Parrot's
.end
# Twiddle MultiSub - at least one of these can go away when it stops inheriting
# Twiddle MultiSub - at most of these can go away when it stops inheriting
# from RPA.
.namespace ['MultiSub']
Expand All @@ -61,6 +61,10 @@ Note that we currently do this by adding the method to Parrot's
.return (self)
.end
.sub 'perl' :method
.return ('{ ... }')
.end
=item name
Gets the name of the routine.
Expand Down

0 comments on commit f80f12c

Please sign in to comment.