Open nxcc opened 4 months ago
Just realized this is an evaluator (default vs. v3) issue, not cue cmd vs. cue api. Removing cuecontext.EvaluatorVersion(cuecontext.EvalV3)
in the go code makes this work. Please feel free to close this issue unless it's still valuable as evaluator issue.
The issue is still valuable - we want to be aware of any unexpected errors or regressions with the new evaluator. Thanks!
What version of CUE are you using (
cue version
)?Does this issue reproduce with the latest stable release?
no
What did you do?
attachment: issue.txtar.txt
testscript issue.txtar
What did you expect to see?
PASS
What did you see instead?
failing execution of
go run
[...] adding field redis not allowed as field set was already referencedupdated txtar that just uses
cue
: issue2.txtar.txt