Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Merge pull request #2512 from MorayJ/fix-type
Fix typo in example
  • Loading branch information
Altai-man committed Dec 17, 2018
2 parents 622183d + 1be949f commit 60048bc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion doc/Type/Signature.pod6
Expand Up @@ -645,7 +645,7 @@ sub a(*@a) { @a.perl.say };
a(@array); # OUTPUT: «["a", "b", "c"]»
a(1, $list, [2, 3]); # OUTPUT: «[1, "d", "e", "f", 2, 3]»
a([1, 2]); # OUTPUT: «[1, 2]»
a(1, [1, 2], ([3, 4], 5)); # OUTPUT: «[1, 1, 2, 3, 4 5]»
a(1, [1, 2], ([3, 4], 5)); # OUTPUT: «[1, 1, 2, 3, 4, 5]»
a(($_ for 1, 2, 3)); # OUTPUT: «[1, 2, 3]»
=end code
Expand Down

0 comments on commit 60048bc

Please sign in to comment.