Skip to content

Commit

Permalink
Allow .WHAT and other p6object methods on Parrot MultiSub objects (RT…
Browse files Browse the repository at this point in the history
… #66928).
  • Loading branch information
pmichaud committed Jul 1, 2009
1 parent fbc5428 commit ee1fd13
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/classes/Multi.pir
Expand Up @@ -19,6 +19,7 @@ Multi - Perl 6 multi-dispatch routine
p6meta = get_hll_global ['Perl6Object'], '$!P6META'
proto = p6meta.'new_class'('Multi', 'parent'=>'parrot;Perl6MultiSub Code Any')
p6meta.'register'('Perl6MultiSub', 'parent'=>proto, 'protoobject'=>proto)
p6meta.'register'('MultiSub', 'parent'=>proto, 'protoobject'=>proto)
.end

.sub 'Scalar' :method
Expand Down

0 comments on commit ee1fd13

Please sign in to comment.