parent
51a04a3674
commit
40a5d6537a
3 changed files with 36 additions and 21 deletions
11
tests/sets/m17385.nim
Normal file
11
tests/sets/m17385.nim
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
import std/sets
|
||||
|
||||
type
|
||||
Diff*[T] = object
|
||||
data: T
|
||||
|
||||
proc test*[T](diff: Diff[T]) =
|
||||
var bPopular = initHashSet[T]()
|
||||
for element in bPopular.items():
|
||||
echo element
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue