blob: 5dfe8d8745d79d52ed15ac6f5bf5a81e0a449257 [file] [log] [blame]
-- cue.mod/module.cue --
module: "example.com"
-- foo.cue --
package foo
import "example.com/pkg:bar"
bar
zz: 3
-- pkg/bar.cue --
package bar
import "example.com/pkg:baz"
baz
yy: 2
-- pkg/baz.cue --
package baz
xx: 1
-- out/eval --
(struct){
xx: (int){ 1 }
yy: (int){ 2 }
zz: (int){ 3 }
}
-- out/compile --
--- foo.cue
{
import;"example.com/pkg:bar"
zz: 3
}