Sign in
cue
/
cue
/
2362858826cd0a63fd33691928665c60c3411361
/
.
/
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
}
}
}