digitalmars.D.bugs - [Issue 14383] New: documented unittests don't work for module
- via Digitalmars-d-bugs (38/38) Mar 31 2015 https://issues.dlang.org/show_bug.cgi?id=14383
https://issues.dlang.org/show_bug.cgi?id=14383 Issue ID: 14383 Summary: documented unittests don't work for module declaration Product: D Version: unspecified Hardware: x86_64 OS: Linux Status: NEW Severity: enhancement Priority: P1 Component: DMD Assignee: nobody puremagic.com Reporter: code dawg.eu Sometimes it's useful to have an introductory example for a module, but documented unittest currently don't work for that. cat > mod.d << CODE /** My Module */ module mod; /// unittest { auto example = "usage"; } CODE dmd -D -c -o- mod Should produce the same output as this. cat > mod.d << CODE /** My Module ---- auto example = "usage"; ---- */ module mod; CODE --
Mar 31 2015