internal/core/adt: add tests for closing of arguments to validators
evalv3 would close literal structs as arguments to
functions and validators if they were defined within
a definition. This was not in line with V2.
We want to bring this in line with V2 with the new
closedness implementation for evalv3.
Signed-off-by: Marcel van Lohuizen <mpvl@gmail.com>
Change-Id: I36937474968d684694003846147465616c409786
Reviewed-on: https://review.gerrithub.io/c/cue-lang/cue/+/1211384
Unity-Result: CUE porcuepine <cue.porcuepine@gmail.com>
Reviewed-by: Matthew Sackman <matthew@cue.works>
TryBot-Result: CUEcueckoo <cueckoo@cuelang.org>