You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
cmd/cue: add a forwards compatibility test case for bugfix releases
When loading a CUE module which uses a higher language.version than
the current language version supported by cmd/cue, it does not matter
whether the version is higher due to a higher bugfix number
or a higher minor or even major number.
We treat the language.version version as a hard version minimum,
even though the language spec should not change in bugfix releases,
for the sake of consistent and intuitive behavior.
language.version also affects the module.cue file schema to use,
and that can indeed change in bugfix releases from time to time.
We already had a test case for a CUE module with a higher minor number
in its language.version; add one with a higher bugfix number as well.
While here, move "cd" testscript commands to be next to the top-level
comment which describes each test case set up via txtar.
For #3197.
Signed-off-by: Daniel Martí <[email protected]>
Change-Id: Ied3603b95662656fa45063421f730e7788646b8e
Reviewed-on: https://review.gerrithub.io/c/cue-lang/cue/+/1196300
TryBot-Result: CUEcueckoo <[email protected]>
Reviewed-by: Paul Jolly <[email protected]>
Reviewed-by: Roger Peppe <[email protected]>
Unity-Result: CUE porcuepine <[email protected]>
0 commit comments