Open enthus1ast opened 1 year ago
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.
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
c.nim
Also see:
https://github.com/Vladar4/sdl2_nim/issues/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: a488067a4130f029000be4550a0fb1b39e0e9e7c active boot switches: -d:release
Current Output
Expected Output
Possible Solution
No response
Additional Information
No response