Closed jhrcek closed 3 years ago
reportAmbiguousErr leaks SQLData constructors in CLI output.
reportAmbiguousErr
SQLData
Example
hiedb -D /home/jhrcek/.stack/hie/all.hiedb name-def '.~' UnitId could be any of: [SQLText "Control.Lens.Setter",SQLText "lens-4.18.1-3OARtXsBjjo1TqgI8pcyp8",SQLInteger 0,SQLNull,SQLInteger 0,SQLText "2020-11-28 09:09:29.225392603"],[SQLText "Relude.Extra.Lens",SQLText "relude-0.7.0.0-8JaQfOxwnDuGOQ2uEgoBBX",SQLInteger 0,SQLNull,SQLInteger 0,SQLText "2020-11-28 09:07:46.035048413"]
It would be more readable if the SQLData constructors were unwrapped and each of the "any-of" results were reported on separate line.
Fixed in https://github.com/wz1000/HieDb/pull/18
reportAmbiguousErr
leaksSQLData
constructors in CLI output.Example
It would be more readable if the
SQLData
constructors were unwrapped and each of the "any-of" results were reported on separate line.