cue/interpreter/embed: require type if glob extension not specified
Per the design in https://cuelang.org/discussion/3264, we require the
type argument to be specified if the extension provided in a glob
pattern is not fully specified.
The current implementation does not implement that behaviour. This CL
corrects that.
Fixes #3274.
Signed-off-by: Paul Jolly <paul@myitcv.io>
Change-Id: If07d966fd51fce0634bd4da38853cf974ad2d202
Reviewed-on: https://review.gerrithub.io/c/cue-lang/cue/+/1197339
TryBot-Result: CUEcueckoo <cueckoo@cuelang.org>
Unity-Result: CUE porcuepine <cue.porcuepine@gmail.com>
Reviewed-by: Roger Peppe <rogpeppe@gmail.com>
Reviewed-by: Marcel van Lohuizen <mpvl@gmail.com>