Closed jszwedko closed 1 year ago
Minimized:
package p
#Schema: [string]: {
required: bool
if !required {
}
}
root: #Schema & {
if false {
child: {
required: false
}
}
}
This passes cue vet -c
with v0.4.3, but fails with 8fb13d4c31d145b54c203ebbd1a69e84db2db35a:
$ cue vet -c repro1.cue
root.child: operand required of '!' not concrete (was bool):
./repro1.cue:5:6
Thank you for the quick resolution!
What version of CUE are you using (
cue version
)?Does this issue reproduce with the latest release?
It does not reproduce with 0.4.3 but does with 0.5.0-beta.2
What did you do?
Apologies, I know there are a lot of cue files here making this far from an minimal reproducible example, but I figured you might still want this report prior to 0.5.0 release. Hopefully something jumps out to you from it. I'm happy to try things if needed.
What did you expect to see?
Successful vetting.
What did you see instead?