blob: 44ea45584afcd743cd521a49cf27850384d03b71 [file] [log] [blame]
# DO NOT EDIT; generated by go run testdata/gen.go
#
raw: true
-- in.cue --
{
#emb: {
a: 1
sub: {
f: 3
}
}
#def: {
#emb
b: 2
}
#f: a: 10
#e: {
#f
b: int
{[_]: <100}
{[_]: <300}
}
}
-- out/def --
#emb: {
a: 1
sub: {
f: 3
}
}
#def: {
b: 2
#emb
}
#f: {
a: 10
}
#e: {
b: int
#f
[string]: <100
[string]: <300
}
-- out/export --
-- out/yaml --
{}
-- out/json --
{}
-- out/compile --
--- in.cue
{
{
#emb: {
a: 1
sub: {
f: 3
}
}
#def: {
1;#emb
b: 2
}
#f: {
a: 10
}
#e: {
1;#f
b: int
{
[_]: <100
}
{
[_]: <300
}
}
}
}
-- out/eval --
(struct){
#emb: (#struct){
a: (int){ 1 }
sub: (#struct){
f: (int){ 3 }
}
}
#def: (#struct){
a: (int){ 1 }
sub: (#struct){
f: (int){ 3 }
}
b: (int){ 2 }
}
#f: (#struct){
a: (int){ 10 }
}
#e: (#struct){
a: (int){ 10 }
b: (int){ &(<100, int) }
}
}