Mirror of https://github.com/cue-lang/cue cuelang.org
cue go

internal/core/adt: add reproducer for unity failure master

Lock in the correct behavior of a comprehension-over-resources shape originally surfaced by unity. The upcoming comprehension rework would otherwise regress this case; landing the test below the rework lets the follow-up fix show its diff cleanly. Signed-off-by: Marcel van Lohuizen <mpvl@gmail.com> Change-Id: Ic09a34161212ac5e79f3dcf26a5134b3bc305cb0 Reviewed-on: https://cue.gerrithub.io/c/cue-lang/cue/+/1237116 TryBot-Result: CUEcueckoo <cueckoo@cuelang.org> Reviewed-by: Daniel Martí <mvdan@mvdan.cc> Unity-Result: CUE porcuepine <cue.porcuepine@gmail.com>


+43
1 changed file