cuelang.org/go@v0.10.1/internal/core/export/testdata/selfcontained/simplifyexpr.txtar (about) 1 #path: a.b 2 -- in.cue -- 3 import "struct" 4 5 s: {a: 1, b: 2} 6 7 // TODO: this could be resolved because all inputs are fixed. 8 a: b: { 9 c: struct.MaxFields(s, 3) 10 d: {} 11 } 12 13 -- out/self/default -- 14 import "struct" 15 16 c: struct.MaxFields(S, 3) 17 d: {} 18 19 //cue:path: s 20 let S = { 21 a: 1 22 b: 2 23 }