-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
New issue
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
An exported converter, is silently exported by intermediate module #22416
Comments
iirc converters are meant to be non-exportable. this is not mentioned in the manual but i recall some convo on IRC indicating this was the case. |
Converters can be exported but the export rules are the same: A direct import makes the converter visible (and implicitly invokable) and an indirect import does not. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Description
An exported converter causes issues later in the import chain.
Even if the module
a
is not exported byb.nim
it is still causing issues inc.nim
a.nim
b.nim
import a
c.nim
Also see:
Vladar4/sdl2_nim#38
https://forum.nim-lang.org/t/8646#56246
Nim Version
Nim Compiler Version 2.0.0 [Linux: amd64]
Compiled at 2023-08-01
Copyright (c) 2006-2023 by Andreas Rumpf
git hash: a488067
active boot switches: -d:release
Current Output
Expected Output
Possible Solution
No response
Additional Information
No response
The text was updated successfully, but these errors were encountered: