Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Get Match objects to work with objectrefs in methods.
  • Loading branch information
pmichaud committed Jul 5, 2010
1 parent 979a34a commit ef66ac3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/core/Match.pm
Expand Up @@ -40,11 +40,11 @@ class Match is Regex::Match is Cool does Positional does Associative {

multi method hash() {
# nextsame() dies here with 'Null PMC access in clone()'
CREATE_HASH_FROM_LOW_LEVEL(self.Regex::Match::hash);
CREATE_HASH_FROM_LOW_LEVEL(pir::descalarref__PP(self).Regex::Match::hash);
}

multi method list() {
list(self.Regex::Match::list);
Seq.new(pir::descalarref__PP(self).Regex::Match::list);
}

multi method caps() {
Expand Down

0 comments on commit ef66ac3

Please sign in to comment.