Example: -------------------- /// test void bug6491(string s = std.ascii.hexDigits) {} -------------------- Generated DDoc will read: -------------------- void bug6491(string s = module ascii.hexDigits); test -------------------- The 'module' should not exist, it should read 'string s = std.ascii.hexDigits'. This can also be seen at http://d-programming-language.org/phobos/std_stream.html#EndianStream. The problem doesn't exist if the function is templated.
DMD pull #307. https://github.com/D-Programming-Language/dmd/pull/307
https://github.com/D-Programming-Language/dmd/commit/9c23e891d9f58359aab67507261e26ee9340022e https://github.com/D-Programming-Language/dmd/commit/4b4662fd7b81493dac5f178467a506c07309060e