Paths are converted to lowercase on Windows #5076

endragor opened this Issue Nov 30, 2016 · 1 comment


None yet

2 participants


Nim seems to handle module names differently between OSes. It keeps case on *nix, but converts all paths and module names to lowercase on Windows. So if you have a module (and filename) that starts with an uppercase letter, say MyModule.nim, then on Windows Nim will consider it to be mymodule, while on other systems it's MyModule. So we get code that compiles on Unix, but errors with undeclared identifier on Windows or vice versa.

@Araq Araq added a commit that closed this issue Nov 30, 2016
@Araq Araq fixes #5076 b1b2dd6
@Araq Araq closed this in b1b2dd6 Nov 30, 2016
Araq commented Nov 30, 2016

Produced a regression, cannot compile Nimble on windows anymore.

@Araq Araq reopened this Nov 30, 2016
@Araq Araq closed this Dec 17, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment