blob: 243e4b7c22147ff63ddd76b2bb9070b6df40742c [file] [log] [blame]
-- in.cue --
if #E["x"] != _|_ {
#E: y: true
}
if #E["y"] != _|_ {
z: true
}
#E: [_]: bool
#E: x: true
-- out/eval --
(struct){
#E: (#struct){
x: (bool){ true }
y: (bool){ true }
}
z: (bool){ true }
}
-- out/compile --
--- in.cue
{
if (〈0;#E〉["x"] != _|_(from source)) {
#E: {
y: true
}
}
if (〈0;#E〉["y"] != _|_(from source)) {
z: true
}
#E: {
[_]: bool
}
#E: {
x: true
}
}