blob: 769980abd6cee3bd27780b99e6177946f6d73d47 [file] [log] [blame]
-- in.cue --
out: {
instance
}
instance: #Type & {
alpha: bravo: charlie: true
}
#Type: #Root & {
alpha?: bravo?: charlie?: bool
}
#Root: { ... }
-- out/eval --
(struct){
out: (#struct){
alpha: (#struct){
bravo: (#struct){
charlie: (bool){ true }
}
}
}
instance: (#struct){
alpha: (#struct){
bravo: (#struct){
charlie: (bool){ true }
}
}
}
#Type: (#struct){
}
#Root: (#struct){
}
}
-- out/compile --
--- in.cue
{
out: {
1;instance
}
instance: (〈0;#Type & {
alpha: {
bravo: {
charlie: true
}
}
})
#Type: (〈0;#Root〉 & {
alpha?: {
bravo?: {
charlie?: bool
}
}
})
#Root: {
...
}
}