-
Notifications
You must be signed in to change notification settings - Fork 349
Closed
Labels
evaluatorevalv3issues affecting only the evaluator version 3issues affecting only the evaluator version 3unity-winbugs found thanks to projects added to Unitybugs found thanks to projects added to Unity
Description
# evalv2
env CUE_EXPERIMENT=evalv3=0
exec cue export
# evalv3
env CUE_EXPERIMENT=evalv3=1
exec cue export
-- input.cue --
package p
#Image: embed: image: "foo:v1"
#JobConfig: {
image: #Image
job: #Job & {
image.embed
}
}
#Job: {
image: string
vcs: "git"
args: [...string]
env: [string]: string
}
#Output: {
_in: _
out: (_in & {})
}
#Output & {
_in: (#JobConfig & {}).job
}
As of 721ca5d:
# evalv2 (0.010s)
> env CUE_EXPERIMENT=evalv3=0
> exec cue export
[stdout]
{
"out": {
"image": "foo:v1",
"vcs": "git",
"args": [],
"env": {}
}
}
# evalv3 (0.029s)
> env CUE_EXPERIMENT=evalv3=1
> exec cue export
[stderr]
out.args: field not allowed:
./input.cue:13:2
out.env: field not allowed:
./input.cue:14:2
out.vcs: field not allowed:
./input.cue:12:2
[exit status 1]
Reduced from @nyarly's project in Unity.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
evaluatorevalv3issues affecting only the evaluator version 3issues affecting only the evaluator version 3unity-winbugs found thanks to projects added to Unitybugs found thanks to projects added to Unity