Open mvdan opened 1 week ago
Slightly smaller testscript:
# With the old evaluator.
env CUE_EXPERIMENT=evalv3=0
exec cue vet -c=false
# With the new evaluator.
env CUE_EXPERIMENT=evalv3=1
exec cue vet -c=false
-- input.cue --
package p
#PatchOp: {
op: "replace"
value: _
} | {
op: "remove"
} | {
op: "copy"
from: string
}
params: {}
patched: #PatchOp & {
op: "replace"
value: "\(params.missing)"
}
As of c29fd02c46f0c438148d1051489bf42122f59f19:
The config is incomplete, as
params.missing
is not a field that exists, but still - I think v2 was correct in not reporting the "conflicting values" errors which do not matter here.