csvtools icon indicating copy to clipboard operation
csvtools copied to clipboard

Error happened while compiling

Open eggplants opened this issue 2 years ago • 1 comments

Please take a look: https://github.com/nim-lang/Nim/issues/19966

eggplants avatar Jul 03 '22 06:07 eggplants

I have not tried your example specifically, but from a quick look, it seems that the issue is that FushinItem is a tuple and not an object, and tuples are not supported in csvtools.

See here:

The type T must be a flat object whose fields are numbers, strings or TimeInfo.

In short, try just changing tuple into object, and everything should work

andreaferretti avatar Jul 08 '22 08:07 andreaferretti