https://issues.dlang.org/show_bug.cgi?id=14015
Issue ID: 14015 Summary: ddoc Error: function unmatched as result of underscore in unittest comment Product: D Version: D2 Hardware: x86_64 OS: Linux Status: NEW Severity: normal Priority: P1 Component: DMD Assignee: nob...@puremagic.com Reporter: ed...@tkwsping.nl Generating ddoc from the following code results in an error: code: /// void dummy() { } /// Testing _name unittest { assert( true ); } error: $ dmd -main -D ddoc.d ddoc.d(2): Error: function ddoc.dummy unmatched --- in DDoc comment The error goes away if you remove the underscore, or wrap it in quotes ("_name") and it seems to only occur in documentation comments before unittests. --