closure in hashset, fail to compile with c++ backend

2020-11-24 Thread tommo
thanks, will do!

closure in hashset, fail to compile with c++ backend

2020-11-24 Thread Araq
Please report bugs on github.

closure in hashset, fail to compile with c++ backend

2020-11-22 Thread tommo
Hi, new Nim user here. I'm trying to use closure type in hashset, while the c backend works well, the c++ backend fails to compile. A minimal example: import sets type callType = proc() {.closure.} var tableA = initHashSet[callType]() let foo = proc()= discard