status-im / nim-websock

Websocket for Nim
81 stars 15 forks source link

deflate.nim(384, 8) Error: cannot bind another '=destroy' to: DeflateExt:ObjectType #118

Closed alexisad closed 2 years ago

alexisad commented 2 years ago

I tried to compile server part from exactly example on https://github.com/status-im/nim-websock/blob/main/examples/server.nim

But getting compile error:

deflate.nim(384, 8) Error: cannot bind another '=destroy' to: DeflateExt:ObjectType; previous declaration was constructed here implicitly: /home/alex/.nimble/pkgs/websock-0.1.0/websock/extensions/compression/deflate.nim(224, 15)


Nim Compiler Version 1.6.6 [Linux: amd64]