Tables clear seems to be broken #4844

StefanSalewski opened this Issue Oct 2, 2016 · 0 comments


None yet

2 participants


In my original code I created table with inittable() and try to clear it, here is an example from manual:

import tables
var a = {1: "one", 2: "two"}.toTable

# what may be wrong with my use of clear? No idea currently.
# Nim Compiler Version 0.15.0 (2016-10-01) [Linux: amd64]
# tableimpl.nim(146, 16) Error: '[i].hcode' cannot be assigned to
@dom96 dom96 added the Stdlib label Oct 2, 2016
@Araq Araq added a commit that closed this issue Oct 8, 2016
@Araq Araq fixes #4844 80ad3d3
@Araq Araq closed this in 80ad3d3 Oct 8, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment