1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37
|
Because of the embedding, trimV3 does not simplify this. If line 1 was
rewritten without the embedding, then the simplification can
occur. See do_not_remove_field_2 for that.
-- in.cue --
{[_]: x: "hello"}
a: x: "hello"
-- out/trim-v3 --
== in.cue
{[_]: x: "hello"}
a: x: "hello"
-- diff/-out/trim-v3<==>+out/trim --
diff old new
--- old
+++ new
@@ -1,3 +1,3 @@
== in.cue
{[_]: x: "hello"}
-a: {}
+a: x: "hello"
-- out/trim-v3-noshare --
== in.cue
{[_]: x: "hello"}
a: x: "hello"
-- diff/-out/trim-v3-noshare<==>+out/trim --
diff old new
--- old
+++ new
@@ -1,3 +1,3 @@
== in.cue
{[_]: x: "hello"}
-a: {}
+a: x: "hello"
-- out/trim --
== in.cue
{[_]: x: "hello"}
a: {}
|