Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

[t/spec] Test for RT #68086

git-svn-id: http://svn.pugscode.org/pugs@27826 c213334d-75ef-0310-aa23-eaa082d1ae64
  • Loading branch information...
commit 846962c202fc084405be9f2fe32db9715201b525 1 parent 7a8afb4
kyle authored
Showing with 3 additions and 1 deletion.
  1. +3 −1 S06-signature/named-parameters.t
4 S06-signature/named-parameters.t
View
@@ -1,7 +1,7 @@
use v6;
use Test;
-plan 75;
+plan 76;
# L<S06/Required parameters/"Passing a named argument that cannot be bound to
# a normal subroutine is also a fatal error.">
@@ -217,5 +217,7 @@ ok(%fellowship<dwarf> ~~ undef, "dwarf arg was not given");
dies_ok { renames(:x(23)) }, 'old name is not available';
}
+#?rakudo todo 'RT #68086'
+eval_dies_ok 'sub rt68086( $a, $a ) { }', 'two sub params with the same name';
# vim: ft=perl6
Please sign in to comment.
Something went wrong with that request. Please try again.