# DO NOT EDIT; generated by go run testdata/gen.go | |
# | |
raw: true | |
-- in.cue -- | |
{a: {b: []}, c: a.b, d: a["b"]} | |
-- out/def -- | |
a: { | |
b: [] | |
} | |
c: [] | |
d: [] | |
-- out/export -- | |
a: { | |
b: [] | |
} | |
c: [] | |
d: [] | |
-- out/yaml -- | |
a: | |
b: [] | |
c: [] | |
d: [] | |
-- out/json -- | |
{"a":{"b":[]},"c":[],"d":[]} | |
-- out/compile -- | |
--- in.cue | |
{ | |
{ | |
a: { | |
b: [] | |
} | |
c: 〈0;a〉.b | |
d: 〈0;a〉["b"] | |
} | |
} | |
-- out/eval -- | |
(struct){ | |
a: (struct){ | |
b: (#list){ | |
} | |
} | |
c: (#list){ | |
} | |
d: (#list){ | |
} | |
} |