exec cue eval ./pkg:foo

-- cue.mod/module.cue --
module: "mod.test"
language: version: "v0.9.0"
-- in.cue --
package test

import pkg2 "mod.test/foo/pkg1"

#pkg1: pkg2.Object

"Hello \(#pkg1)!"
-- foo/pkg1/file.cue --
package pkg1

Object: "World"
-- out/eval --
(string){ "Hello World!" }
-- out/doc --
[]
[#pkg1]
-- out/definition --
package test

import pkg2 "mod.test/foo/pkg1"

"Hello \(#pkg1)!"
#pkg1: pkg2.Object
-- out/value --
== Simplified
"Hello World!"
== Raw
{
	"Hello World!"
	#pkg1: "World"
}
== Final
"Hello World!"
== All
{
	"Hello World!"
	#pkg1: "World"
}
== Eval
{
	"Hello World!"
	#pkg1: "World"
}
