diff options
author | Patrick Spek <p.spek@tyil.nl> | 2020-02-04 09:02:51 +0100 |
---|---|---|
committer | Patrick Spek <p.spek@tyil.nl> | 2020-02-04 09:02:51 +0100 |
commit | fa276a063eea5c15836e41846e31b2622570e628 (patch) | |
tree | 3c240322ccf10a85133a86f894fd4bbb476b2f1d | |
parent | 95e89dee79200e1ea75b1ef976a30bf6b61e23a7 (diff) | |
download | hash-merge-fa276a063eea5c15836e41846e31b2622570e628.tar.gz hash-merge-fa276a063eea5c15836e41846e31b2622570e628.tar.bz2 |
Remove useless warning
This warning serves no value, but it pops up during testing, which
confused an end user. Thus, it is being removed.
-rw-r--r-- | lib/Hash/Merge/Augment.pm6 | 4 |
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; } |