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

import "mod.test/b"

theb: b.name
-- b/b.cue --
package b

import "mod.test/c"

b: c.c & {
	other: "name"
}

name: b.other
-- c/c.cue --
package c
-- out/compile --
--- a.cue
{
  theb: 〈import;"mod.test/b"〉.name
}
-- out/eval/stats --
Leaks:  4
Freed:  2
Reused: 0
Allocs: 6
Retain: 8

Unifications: 6
Conjuncts:    8
Disjuncts:    8
-- out/eval --
(struct){
  theb: (_|_){
    // [incomplete] b: undefined field: c:
    //     ./b/b.cue:5:6
  }
}
