From d0ee46628c91f4fb6e79aad80a063eabd26016c7 Mon Sep 17 00:00:00 2001 From: Elizabeth Mattijsen Date: Thu, 20 Feb 2020 14:38:59 +0100 Subject: [PATCH] Add test for $#3492 --- S06-signature/introspection.t | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/S06-signature/introspection.t b/S06-signature/introspection.t index 5e7e0f6f58..6f2a52e32e 100644 --- a/S06-signature/introspection.t +++ b/S06-signature/introspection.t @@ -4,7 +4,7 @@ use lib $?FILE.IO.parent(2).add("packages/Test-Helpers"); use Test::Util; use Test::Idempotence; -plan 147; +plan 148; # L @@ -296,4 +296,8 @@ is :(@a = [1,2,3]).params[0].suffix, '', is :(:@a = [1,2,3]).params[0].suffix, '', 'default values for named parameters do not give a ! suffix'; +# https://github.com/rakudo/rakudo/issues/3492 +is :($ is raw where 42).params.head.sigil, '$', + "an unnamed raw parameter should have the '\$' sigil"; + # vim: ft=perl6