Add regression test for (serialization bug)
@@ -28,5 +28,10 @@ let assertDeserInv = fun x =>
bar = ["str", true],
baz = {subfoo = true, subbar = 0}
},
+
+ # regression test for issue #668 (https://github.com/tweag/nickel/issues/668)
+ let base = {foo | {_: {bar | default = 2}}} in
+ let ext = {foo = {some = {}}} in
+ assertSerInv (base & ext),
]
|> array.foldl (fun x y => (x | Assert) && y) true
