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
internal/core/adt: allow non-concrete values in builtins
By default, arguments to builtins are checked for
concreteness. It will be too much work, not to mention
brittle, to change this at this moment, as it would
require functions to check the result of the arguments
for errors whereas before they did not.
Instead, if a function now wants arguments to be able
to be non-concrete, it should do so by explicitly
setting the NonConcrete flag. It is then subsequently
responsible for checking all return arguments.
A bit of the non-concrete support is added here, but it
will be used and tested in a followup CL. Otherwise,
these changes should not result in any test changes.
Issue #2741
Signed-off-by: Marcel van Lohuizen <[email protected]>
Change-Id: I7a61fb93a6976b0b9b9118507ae41acb7fdd2b05
Reviewed-on: https://review.gerrithub.io/c/cue-lang/cue/+/1199684
Reviewed-by: Daniel Martí <[email protected]>
TryBot-Result: CUEcueckoo <[email protected]>
Unity-Result: CUE porcuepine <[email protected]>
0 commit comments