cuelang.org/go@v0.13.0/cue/testdata/eval/issue3709.txtar (about) 1 # Issue #3709 2 # Prevent hang. 3 4 -- cue.mod/module.cue -- 5 module: "foo.test/bar" 6 language: version: "v0.11.0" 7 -- input.cue -- 8 package p 9 10 import "foo.test/bar/imported" 11 12 out: [string]: imported.#Foo 13 -- imported/imported.cue -- 14 package imported 15 16 #Foo: bar?: #Bar 17 #Bar: foo?: #Foo 18 -- out/compile -- 19 --- input.cue 20 { 21 out: { 22 [string]: 〈import;"foo.test/bar/imported"〉.#Foo 23 } 24 } 25 -- out/eval/stats -- 26 Leaks: 0 27 Freed: 2 28 Reused: 0 29 Allocs: 2 30 Retain: 0 31 32 Unifications: 2 33 Conjuncts: 2 34 Disjuncts: 2 35 -- out/eval -- 36 (struct){ 37 out: (struct){ 38 } 39 }