When creating a table where values are arrays:
import tables
var env = newTable[string, openarray[int]]()
I get the following error:
main.nim(2, 19) template/generic instantiation of `newTable` from here
nim-1.2.0/lib/pure/collections/tables.nim(815, 27) template/generic instantiation of `toTable` from here
nim-1.2.0/lib/pure/collections/tables.nim(338, 27) template/generic instantiation of `initTable` from here
nim-1.2.0/lib/pure/collections/tables.nim(288, 22) Error: invalid type: 'openArray[int]' in this context: 'proc (initialSize: int): Table[system.string, openArray[int]]{.noSideEffect, gcsafe, locks: 0.}' for proc