This is an automatically generated mail to inform you that tests are now available in t/spec/S06-signature/introspection.t
commit 623767c555b872abb1f56c29af06f62b01b24bd6 Author: moritz <mor...@c213334d-75ef-0310-aa23-eaa082d1ae64> Date: Mon Jun 28 20:59:33 2010 +0000 [t/spec] tests for RT #76116, parcel and capture binding in signature introspection git-svn-id: http://svn.pugscode.org/p...@31491 c213334d-75ef-0310-aa23-eaa082d1ae64 diff --git a/t/spec/S06-signature/introspection.t b/t/spec/S06-signature/introspection.t index bb2adf3..e7ff742 100644 --- a/t/spec/S06-signature/introspection.t +++ b/t/spec/S06-signature/introspection.t @@ -109,6 +109,16 @@ sub j(*...@i) { } +{ + my $x; + ok :(|$x).params[0].capture, 'prefix | makes .capture true'; + ok :(|$x).perl ~~ / '|' /, 'prefix | appears in .perl output'; + + #?rakudo 2 skip 'parcel binding' + ok :(\|$x).params[0].parcel, 'prefix \| makes .parcel true'; + ok :(\|$x).perl ~~ / '\|' /, 'prefix \| appears in .perl output'; +} + # RT #69492 { sub foo(:$) {};