-- in.cue --
a: {
	{[A=string]: {name: A}}

	// TODO: allow duplicate alias here
	{[X=string]: {kind: X}}
}
a: "A": _  @test(eq, {name: "A", kind: "A"})
a: "C": _  @test(eq, {name: "C", kind: "C"})
a: "E": {c: "bar"} @test(eq, {
	c: "bar"
	name: "E"
	kind: "E"
})
-- out/eval/stats --
Leaks:  0
Freed:  12
Reused: 8
Allocs: 4
Retain: 0

Unifications: 12
Conjuncts:    23
Disjuncts:    12
