This tests that we don't accidentally remove fields when conjuncts added by a pattern are more specific: jack, gill etc can be simplified, but must not be entirely removed. -- a.cue -- a: 5 s: { age: a } d: { jack: {age: 5}, gill: {age: >4}, hilbert: {age: int}, } d: [string]: s -- out/trim-v3 -- == a.cue a: 5 s: {age: a} d: { jack: _ gill: _ hilbert: _ } d: [string]: s -- diff/-out/trim-v3<==>+out/trim -- diff old new --- old +++ new @@ -2,8 +2,8 @@ a: 5 s: {age: a} d: { - jack: {} - gill: {} - hilbert: {} + jack: _ + gill: _ + hilbert: _ } d: [string]: s -- out/trim-v3-noshare -- == a.cue a: 5 s: {age: a} d: { jack: _ gill: _ hilbert: _ } d: [string]: s -- diff/-out/trim-v3-noshare<==>+out/trim -- diff old new --- old +++ new @@ -2,8 +2,8 @@ a: 5 s: {age: a} d: { - jack: {} - gill: {} - hilbert: {} + jack: _ + gill: _ + hilbert: _ } d: [string]: s -- out/trim -- == a.cue a: 5 s: {age: a} d: { jack: {} gill: {} hilbert: {} } d: [string]: s