Sign in
cue
/
cue
/
0070bb104ee81630c7f5e962178f214ecbd2de6a
/
.
/
cue
/
testdata
/
references
/
optional.txtar
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
}
}
}