This is an automatically generated mail to inform you that tests are now
available in t/spec/S06-signature/introspection.t
commit 4fe2085a03c1029dc2361275a6d50fd4d8cbd8d3
Author: moritz <mor...@c213334d-75ef-0310-aa23-eaa082d1ae64>
Date: Mon May 31 19:50:56 2010 +0000
[t/spec] Test for RT #70720, :(3) has the 3 available to introspection
git-svn-id: http://svn.pugscode.org/p...@31031
c213334d-75ef-0310-aa23-eaa082d1ae64
diff --git a/t/spec/S06-signature/introspection.t
b/t/spec/S06-signature/introspection.t
index dc4e9bb..bb2adf3 100644
--- a/t/spec/S06-signature/introspection.t
+++ b/t/spec/S06-signature/introspection.t
@@ -88,6 +88,12 @@ sub j(*...@i) {
'smartmach against non-closure constraint (-)';
}
+# RT #70720
+{
+ is :(3).params[0].constraints, 3, ':(3) contains the 3';
+ ok :(3).params[0].type === Int, ':(3) has a parameter of type Int';
+}
+
{
sub h(::T $x, T $y) { };
my @l = &h.signature.params;