We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
cue version
$ cue version 0b06bd543bc422ab11be058443a271a6596151ab
Yes, back at least as far as v0.9.2
env CUE_EXPERIMENT=evalv3 ! exec cue vet x.cue -- x.cue -- data: { notAllowed: true } & #S #S: string | {}
Passing test. The empty struct inside #S should be closed, not allowing any extra fields.
#S
> env CUE_EXPERIMENT=evalv3 > ! exec cue vet x.cue FAIL: /tmp/x.txtar:2: unexpected command success
The text was updated successfully, but these errors were encountered:
This seems to have been fixed already.
Sorry, something went wrong.
@mpvl - I've just tested against f99441a and I still see this problem. i.e. @rogpeppe's repro test fails, when it should pass.
No branches or pull requests
What version of CUE are you using (
cue version
)?Does this issue reproduce with the latest stable release?
Yes, back at least as far as v0.9.2
What did you do?
What did you expect to see?
Passing test. The empty struct inside
#S
should be closed, not allowing any extra fields.What did you see instead?
The text was updated successfully, but these errors were encountered: