We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Repro steps:
import streams
nim c -d:useNimRtl
-d:useNimRTL
-mm:refc
2.02 (and most recent head revision 20d79c9).
`/Users/scarter/dev/nim/nim-source/lib/pure/streams.nim(1306, 30) Error: type mismatch: got 'proc (s: Stream, buffer: var string, slice: Slice[system.int]): int{.noSideEffect, gcsafe.}' for 'ssReadDataStr' but expected 'proc (s: Stream, buffer: var string, slice: Slice[system.int]): int{.nimcall, gcsafe.}' .raise effects differ`
No response
Unfortunately, the workarounds of removing useNimRtl or mm:refc aren't viable for my use-case; I'm building an application with shared modules and:
The text was updated successfully, but these errors were encountered:
fixes #23162; streams module fails to compile when using -d:useNimRTL…
7505215
… and -mm:arc
ringabout
Successfully merging a pull request may close this issue.
Description
Repro steps:
import streams
nim c -d:useNimRtl
-d:useNimRTL
or use-mm:refc
Nim Version
2.02 (and most recent head revision 20d79c9).
Current Output
Expected Output
No response
Possible Solution
No response
Additional Information
Unfortunately, the workarounds of removing useNimRtl or mm:refc aren't viable for my use-case; I'm building an application with shared modules and:
The text was updated successfully, but these errors were encountered: