internal/core/adt: arguments are not closed in definitions
evalv3 introduced a regression where literal structs
passed to validators contained within a definition
were treated as closed.
This fixes that and brings it in line with V2.
Signed-off-by: Marcel van Lohuizen <mpvl@gmail.com>
Change-Id: I9c1aa8374d3caae006a90073e70e4633b14fa757
Reviewed-on: https://review.gerrithub.io/c/cue-lang/cue/+/1211385
Unity-Result: CUE porcuepine <cue.porcuepine@gmail.com>
TryBot-Result: CUEcueckoo <cueckoo@cuelang.org>
Reviewed-by: Matthew Sackman <matthew@cue.works>