Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
internal/core/adt: hoist allows from injectClosed
The code currently used matchPattern directly in processComprehesionInner, which really should use allows. Hoist the code so it can be shared. We do so in a separate CL to keep no-op changes separated from material ones. We'll fix the bug in a followup CL. Issue #3486 Signed-off-by: Marcel van Lohuizen <[email protected]> Change-Id: I02f743898e33c8e6fdd03fccfc9080a9b63535de Reviewed-on: https://review.gerrithub.io/c/cue-lang/cue/+/1202420 Reviewed-by: Daniel Martí <[email protected]> TryBot-Result: CUEcueckoo <[email protected]> Unity-Result: CUE porcuepine <[email protected]>
- Loading branch information