blob: 511ff3cf2a36ba766586603d6975f9740cc1dc94 [file] [log] [blame]
# DO NOT EDIT; generated by go run testdata/gen.go
#
#name: new-style definitions
#evalPartial
-- in.cue --
#Foo: {
a: 1
b: int
}
"#Foo": #Foo & {b: 1}
bulk: {[string]: string} & {
#def: 4 // Different namespace, so bulk option does not apply.
_hid: 3
a: "foo"
}
-- out/def --
"#Foo": #Foo & {
b: 1
}
#Foo: {
a: 1
b: int
}
bulk: {
{[string]: string}
a: "foo"
#def: 4
_hid: 3
}
-- out/export --
"#Foo": {
a: 1
b: 1
}
bulk: {
a: "foo"
}
-- out/yaml --
'#Foo':
a: 1
b: 1
bulk:
a: foo
-- out/json --
{"#Foo":{"a":1,"b":1},"bulk":{"a":"foo"}}
-- out/legacy-debug --
<0>{"#Foo": <1>C{a: 1, b: 1}, #Foo: <2>C{a: 1, b: int}, bulk: <3>{[]: <4>(_: string)->string, a: "foo", #def: 4, _hid: 3}}