On Monday, 21 June 2021 at 03:32:58 UTC, someone wrote:
Since memory serves I use to name files with - instead of the more common _
The module name has to be strict and "-" is not allowed.However, you should be able to import files with a "-" in the name.
From the manual:
If the file name of a module is an invalid module name (e.g. foo-bar.d), you may use a module declaration to set a valid module name:
```d module foo_bar; ``` Tested on Windows/dmd - does NOT work :(