-- in.cue --
service: [Name=string]: {
	name: string | *Name
	port: int | *7080
}
service: foo: _    @test(eq, {
    name: *"foo" | string
    port: *7080 | int
})
service: bar: {port: 8000} @test(eq, {
    port: 8000
    name: *"bar" | string
})
service: baz: {name: "foobar"} @test(eq, {
    name: "foobar"
    port: *7080 | int
})
-- out/eval/stats --
Leaks:  0
Freed:  23
Reused: 17
Allocs: 6
Retain: 0

Unifications: 11
Conjuncts:    31
Disjuncts:    23
