blob: 7525d1d5f3852fdbffa33bba0b3a348956913101 [file] [log] [blame]
# DO NOT EDIT; generated by go run testdata/gen.go
#
TODO: Should #Bar result in string or #Foo | string?
raw: true
eval: true
-- in.cue --
{
#Foo: {
#Bar: #Foo | string
}
}
-- out/def --
#Foo: {
#Bar: #Foo | string
}
-- out/export --
-- out/yaml --
{}
-- out/json --
{}
-- out/compile --
--- in.cue
{
{
#Foo: {
#Bar: (〈1;#Foo〉|string)
}
}
}
-- out/eval --
(struct){
#Foo: (#struct){
#Bar: (string){ string }
}
}