| # DO NOT EDIT; generated by go run testdata/gen.go |
| # |
| #name: attributes |
| #evalPartial |
| -- in.cue -- |
| a: {foo: 1 @foo() @baz(1)} |
| b: {foo: 1 @bar() @foo()} |
| c: a & b |
| |
| e: a & {foo: 1 @foo(other)} |
| -- out/def -- |
| a: { |
| foo: 1 @baz(1) @foo() |
| } |
| b: { |
| foo: 1 @bar() @foo() |
| } |
| c: a & b |
| e: _|_ // conflicting attributes for key "foo" |
| -- out/legacy-debug -- |
| <0>{a: <1>{foo: 1 @baz(1) @foo()}, b: <2>{foo: 1 @bar() @foo()}, c: <3>{foo: 1 @bar() @baz(1) @foo()}, e: _|_((<4>.a & <5>{foo: 1 @foo(other)}):conflicting attributes for key "foo")} |