blob: 10216af821f9479d7cc707fc3945cea9150ece4e [file] [log] [blame]
-- in.cue --
e: #Example
e: a: "hello"
#Example: {
a: string
{
value?: string
} | {
externalValue?: string
}
}
-- out/eval --
(struct){
e: (#struct){
a: (string){ "hello" }
}
#Example: (#struct){
a: (string){ string }
}
}
-- out/compile --
--- in.cue
{
e: 0;#Example
e: {
a: "hello"
}
#Example: {
a: string
({
value?: string
}|{
externalValue?: string
})
}
}