blob: 93bd039a0848b1ba963c821bc6b5f5809d812d04 [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){
foo: (struct){
x: (int){ 1 }
y: (int){ 2 }
}
zz: (int){ 3 }
x: (int){ 1 }
y: (int){ 2 }
}
-- out/compile --
--- foo.cue
{
import;"example.com/pkg:bar"
zz: 3
}