Hi, I'm writing a program using the serial port library, and I'm getting the 
following error when trying to compile it:

> /home/mark/.nimble/pkgs/serial-1.1.2/serial/serialstream.nim(117, 17) Error: 
> type mismatch: got <proc (s: Stream, buffer: pointer, bufLen: int): 
> int{.gcsafe, locks: <unknown>.}> but expected 'proc (s: Stream, buffer: 
> pointer, bufLen: int): int{.gcsafe.}'|   
> ---|---  
>   
> .raise effects differ

To me, apart from the locks pragma, the signatures look the same. What am I 
missing?

Reply via email to