blob: 804b07ac8d73a86f91620ce2b1c131b11bb18cd1 [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
}
}
}