diff --git a/S06-signature/introspection.t b/S06-signature/introspection.t index e09db26085..dc4e9bbc96 100644 --- a/S06-signature/introspection.t +++ b/S06-signature/introspection.t @@ -103,6 +103,12 @@ sub j(*@i) { } +# RT #69492 +{ + sub foo(:$) {}; + ok &foo.signature.perl ~~ / ':' /, '.perl of a signature with anonymous named parameter'; +} + done_testing; # vim: ft=perl6