Open
Description
Quick Summary: Case mismatches between modules and file paths work fine on OSX but break on *nix
SSCCE
import Foo.Bar
-- Then make a module file at `foo/Bar.elm` (note directory case)
-- Works fine on Mac, breaks on Linux
- Elm: 0.19.0
- Browser: N/A
- Operating System: OSX / HFS+ (Case-Insensitive)
Additional Details
I've been working on an Elm project on a Mac, then recently went to set it up on CI in a Linux environment and ran into this. Clearly this isn't Elm's fault, or Elm's problem, strictly speaking—however, even after having run into this dozens of times in my career, it took a couple hours before checking this even occurred to me.
On that basis, I thought that having the compiler look for and warn about something like this would be in keeping with the spirit of Elm. Just a thought! Thanks. 😃