aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorPatrick Spek <p.spek@tyil.nl>2020-02-04 09:02:51 +0100
committerPatrick Spek <p.spek@tyil.nl>2020-02-04 09:02:51 +0100
commitfa276a063eea5c15836e41846e31b2622570e628 (patch)
tree3c240322ccf10a85133a86f894fd4bbb476b2f1d /lib
parent95e89dee79200e1ea75b1ef976a30bf6b61e23a7 (diff)
Remove useless warning
This warning serves no value, but it pops up during testing, which confused an end user. Thus, it is being removed.
Diffstat (limited to 'lib')
-rw-r--r--lib/Hash/Merge/Augment.pm64
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/Hash/Merge/Augment.pm6 b/lib/Hash/Merge/Augment.pm6
index b256b8e..8de7542 100644
--- a/lib/Hash/Merge/Augment.pm6
+++ b/lib/Hash/Merge/Augment.pm6
@@ -18,8 +18,8 @@ augment class Hash
#| becomes an Array type.
#| Use :no-append-array to replace arrays and positionals instead, which will
#| also retain the original type and not convert to an Array
- multi method merge (Hash:U: %b, Bool:D :$no-append-array = False) {
- warn "Cannot merge an undefined Hash!";
+ multi method merge (Hash:U: %b, Bool:D :$no-append-array = False)
+ {
return %b;
}