blob: 1d679773477a5536e694c80ec27e232b09cb9489 [file] [log] [blame]
cue def
cmp stdout expect-stdout1
cue def data.cue
cmp stdout expect-stdout2
-- schema.cue --
// foo
package foo
#A: {
// a is an integer
a: int
b: { c: int } // TODO: should we _not_ simplify?
}
-- data.cue --
3
-- expect-stdout2 --
3
-- expect-stdout1 --
// foo
package foo
#A: {
// a is an integer
a: int
b: c: int
}