From 9205fb48a747edc14bbac9e70646cec93891c97c Mon Sep 17 00:00:00 2001 From: Patrick Spek Date: Thu, 12 Nov 2020 11:15:53 +0100 Subject: .clone the data hash --- lib/Config.rakumod | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib') diff --git a/lib/Config.rakumod b/lib/Config.rakumod index f85774a..2d33b71 100644 --- a/lib/Config.rakumod +++ b/lib/Config.rakumod @@ -149,7 +149,7 @@ multi method read ( Config.new( %!template, :$!name, - data => merge-hash(%!data, %data), + data => merge-hash(%!data.clone, %data), :!read-from-env, :!read-from-xdg, ) -- cgit v1.1