cuelang.org/go@v0.13.0/tools/trim/testdata/47.txtar (about) 1 We can do simplifications due to comprehensions! The conjuncts from 2 lines 3 and 6 tie with those from 9, but the conjuncts from line 9 3 must win, because within line 9 there are no redundancies. 4 5 #skip-v2 6 -- a.cue -- 7 s: { 8 x: { 9 port: 8080 10 } 11 y: { 12 port: 8080 13 } 14 } 15 #d: port: 8080 16 for k, v in s { 17 s: "\(k)": #d 18 } 19 -- out/trim-v3 -- 20 == a.cue 21 s: { 22 x: _ 23 y: _ 24 } 25 #d: port: 8080 26 for k, v in s { 27 s: "\(k)": #d 28 } 29 -- out/trim-v3-noshare -- 30 == a.cue 31 s: { 32 x: _ 33 y: _ 34 } 35 #d: port: 8080 36 for k, v in s { 37 s: "\(k)": #d 38 }