all: use reflect.TypeAssert in three more places
Others still use reflect.Value.Interface,
but these are the ones that map to reflect.TypeAssert directly.
Signed-off-by: Daniel Martí <mvdan@mvdan.cc>
Change-Id: I7ac2bc7b9e1b689e21e4b68331f26fac74bf2784
Reviewed-on: https://review.gerrithub.io/c/cue-lang/cue/+/1231001
TryBot-Result: CUEcueckoo <cueckoo@cuelang.org>
Unity-Result: CUE porcuepine <cue.porcuepine@gmail.com>
Reviewed-by: Roger Peppe <rogpeppe@gmail.com>