# 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 } | |
} | |
} |