Got an error like below:
... nixmepkg\nix_stream.nim(24, 1) Warning: Circular dependency detected. reorder pragma may not be able to reorder some nodes properely [User]
... nixmepkg\nix_stream.nim(76, 18) Error: type mismatch: got <proc (s: Stream){.gcsafe, locks: 0.}> but expected 'proc (s: Stream){.gcsafe.}'
... .tag effects differ
My Stream.closeImpl implementation needs to call various Stream.readXYZ procedures, so I suppose it inherits some effects from them (?). Is there some way to work around this error? Am I doing something wrong?
Is there some approachable way I can try using the mitigation
Many, maybe most people are using latest Nim devel, see
I'm afraid there seems to be still the same issue :(
Not sure if it matters, but if the error message is correct, the difference seems to be in the locks: 0 phrase, not in the ReadIOEffect etc. that were changed in the recent commit. Or is it more complicated than I think?