clear() not implemented for CountTableRef #4325

kierdavis opened this Issue Jun 13, 2016 · 0 comments


None yet

1 participant


It appears that clear() is not implemented for CountTableRef, despite it being available for the other 5 types of table in tables.nim. The definition of clear for CountTable looks like it was intended to cover CountTableRef as well.

I've tested that the following code:

import tables
let ct = newCountTable[string]()

fails to compile on 0.14.0.

@kierdavis kierdavis added a commit to kierdavis/Nim that referenced this issue Jun 13, 2016
@kierdavis kierdavis Implement clear() for CountTableRef. Fixes #4325. a824082
@Araq Araq closed this in acbb03e Jun 13, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment