blob: 9d20351d230ad9c17f6d2a533cc5a04fd2a964bd [file] [log] [blame]
# DO NOT EDIT; generated by go run testdata/gen.go
#
#name: different labels for templates
#evalFull
-- in.cue --
a: [X=string]: {name: X}
a: [Name=string]: {name: Name}
a: foo: {}
-- out/def --
a: {
{[X=string]: {
name: X & X
}}
foo: {
name: "foo"
}
}
-- out/export --
a: {
foo: {
name: "foo"
}
}
-- out/yaml --
a:
foo:
name: foo
-- out/json --
{"a":{"foo":{"name":"foo"}}}
-- out/legacy-debug --
<0>{a: <1>{[]: <2>(X: string)->(<3>{name: <2>.X} & <4>{name: <2>.X}), foo: <5>{name: "foo"}}}
-- out/compile --
--- in.cue
{
a: {
[string]: {
name: 1;-〉
}
}
a: {
[string]: {
name: 1;-〉
}
}
a: {
foo: {}
}
}
-- out/eval --
(struct){
a: (struct){
foo: (struct){
name: (string){ "foo" }
}
}
}