VarSet: make a deep copy of values passed to VarSet#append()
This commit is contained in:
1 parent
013995bbc0
commit
4a2997feec
1 file changed
+1
-1
@@ -44,7 +44,7 @@ module Rscons
|
||||
# @param values [VarSet, Hash] New set of variables.
|
||||
def append(values)
|
||||
values = values.vars if values.is_a?(VarSet)
|
||||
@vars.merge!(values)
|
||||
@vars.merge!(Marshal.load(Marshal.dump(values)))
|
||||
self
|
||||
end
|
||||
|
||||
|
||||
Reference in new issue
Block a user