-
Notifications
You must be signed in to change notification settings - Fork 6
Open
Description
Hi,
I was trying to serialize and deserialize bloom filter object, and deserialization gives me the following error during the compilation:
flatty-0.3.4/flatty.nim(171, 23) Error: for a 'var' type a variable needs to be passed; but 'uint64(x.capacity)' is immutable
code causing the issue is:
proc importFlatty*(srcPath: string): Bloom =
result = srcPath.readFile().fromFlatty(Bloom)and it works perfectly the opposite way (toFlatty).
Is that a bug or me doing something wrong?
Metadata
Metadata
Assignees
Labels
No labels