On Fri, 25 Mar 2011 13:05:39 +0200, Russel Winder <[email protected]> wrote:

It appears that DMD barfs on files with - in the file name.  Why?

Do you mean, why doesn't DMD try to work around the problem automatically (e.g. by substituting/removing invalid characters in the module identifier)? The error message answers your verbatim question.

"test-file-name.d: Error: module test-file-name has non-identifier characters in filename, use module declaration instead"

--
Best regards,
 Vladimir                            mailto:[email protected]

Reply via email to