github.com/joomcode/cue@v0.4.4-0.20221111115225-539fe3512047/cue/testdata/references/package.txtar (about) 1 -- cue.mod/module.cue -- 2 module: "example.com" 3 -- in.cue -- 4 package exitcode 5 6 import ( 7 pkg "foo.com/example" 8 ) 9 10 a: 1 11 12 incomplete: pkg.Settings 13 -- cue.mod/pkg/foo.com/example/example.cue -- 14 package example 15 16 // An incomplete error in a package is not transferred to a 17 // package that is using it. 18 // 19 // Issue #550 20 blah: Settings.anyKey 21 Settings: {} 22 -- out/ -- 23 24 -- out/eval -- 25 (struct){ 26 a: (int){ 1 } 27 incomplete: (struct){ 28 } 29 } 30 -- out/compile -- 31 --- in.cue 32 { 33 a: 1 34 incomplete: 〈import;"foo.com/example"〉.Settings 35 }