...

Text file src/cuelang.org/go/internal/core/export/testdata/selfcontained/simplifyexpr.txtar

Documentation: cuelang.org/go/internal/core/export/testdata/selfcontained

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

View as plain text