mirror of
https://github.com/johnkerl/miller.git
synced 2026-08-02 12:32:21 +00:00
retain MT_VOID distinction in record-readers
This commit is contained in:
parent
3bee13805d
commit
e1c054b93f
1 changed files with 4 additions and 0 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue