encoding/jsonschema: treat close as no-op for now
Currently we don't implement support for closed structs at all in
Generate, but in the meantime, treating `close(x)` as `x` is clearly
better than treating is as `_`.
Signed-off-by: Roger Peppe <rogpeppe@gmail.com>
Change-Id: I0b6a7bba4649b17258b699b5f242ea3437f54318
Reviewed-on: https://review.gerrithub.io/c/cue-lang/cue/+/1224353
Reviewed-by: Daniel Martí <mvdan@mvdan.cc>
TryBot-Result: CUEcueckoo <cueckoo@cuelang.org>
Unity-Result: CUE porcuepine <cue.porcuepine@gmail.com>