blob: 7297afbf1e8608747c7325ce56188d5c9e20dd7b [file] [log] [blame]
-- in.cue --
a: {
foo?: int
b: foo
}
-- out/compile --
--- in.cue
{
a: {
foo?: int
b: 0;foo
}
}
-- out/eval --
(struct){
a: (struct){
b: (_|_){
// [incomplete] a.b: cannot reference optional field: foo:
// ./in.cue:4:8
}
}
}