blob: dc24e55b854d9d6abb05ccb9ce062e23536eea73 [file] [log] [blame]
# DO NOT EDIT; generated by go run testdata/gen.go
#
#evalFull
-- in.cue --
Task :: {
{
op: "pull"
tag: *"latest" | string
refToTag: tag
tagExpr: tag + "dd"
tagInString: "\(tag)"
} | {
op: "scratch"
}
}
foo: Task & {"op": "pull"}
-- out/def --
Task :: {
op: "pull"
tag: *"latest" | string
refToTag: tag
tagExpr: "latestdd"
tagInString: "latest"
} | {
op: "scratch"
}
foo: Task & {
op: "pull"
}
-- out/export --
foo: {
op: "pull"
tag: "latest"
refToTag: "latest"
tagExpr: "latestdd"
tagInString: "latest"
}
-- out/yaml --
foo:
op: pull
tag: latest
refToTag: latest
tagExpr: latestdd
tagInString: latest
-- out/json --
{"foo":{"op":"pull","tag":"latest","refToTag":"latest","tagExpr":"latestdd","tagInString":"latest"}}
-- out/legacy-debug --
<0>{Task :: (<1>C{op: "pull", tag: (*"latest" | string), refToTag: <1>.tag, tagExpr: (<1>.tag + "dd"), tagInString: ""+<1>.tag+""} | <2>C{op: "scratch"}), foo: <3>C{op: "pull", tag: "latest", refToTag: "latest", tagExpr: "latestdd", tagInString: "latest"}}