retain MT_VOID distinction in record-readers

This commit is contained in:
John Kerl 2020-11-23 11:47:25 -05:00
parent 3bee13805d
commit e1c054b93f

View file

@ -182,6 +182,10 @@ func MlrvalFromInferredType(input string) Mlrval {
// xxx the parsing has happened so stash it ...
// xxx emphasize the invariant that a non-invalid printrep always
// matches the nval ...
if input == "" {
return MlrvalFromVoid()
}
_, iok := lib.TryInt64FromString(input)
if iok {
return MlrvalFromInt64String(input)