Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Cheating |$c in argument lists (only puts in positional bit...will fi…
…x that up shortly).
  • Loading branch information
jnthn committed Aug 3, 2011
1 parent f5ab8d0 commit bc30e74
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions src/core/Capture.pm
Expand Up @@ -27,4 +27,11 @@ my class Capture {
method list(Capture:D:) {
nqp::p6list($!list, List, Mu);
}

method Capture(Capture:D:) {
self
}

# XXX TODO: Should include the hash part too...
method ARGLIST_FLATTENABLE() { $!list }
}

0 comments on commit bc30e74

Please sign in to comment.