[Issue 14460] New: ddoc - bracket inside string is being interpreted as
via Digitalmars-d-bugs
digitalmars-d-bugs at puremagic.com
Fri Apr 17 23:25:26 PDT 2015
https://issues.dlang.org/show_bug.cgi?id=14460
Issue ID: 14460
Summary: ddoc - bracket inside string is being interpreted as
Product: D
Version: 2.040
Hardware: x86_64
OS: Linux
Status: NEW
Severity: trivial
Priority: P1
Component: DMD
Assignee: nobody at puremagic.com
Reporter: sudo at pt-get.com
(possible duplicate of issue 2420)
ddoc is not happy when there is an unmatched bracket, even if the offending
bracket is inside a string literal -
auto uniform(string boundaries = "[)", T1, T2)
(T1 a, T2 b) if (!is(CommonType!(T1, T2) == void))
(from std/random.d:1228)
which produces the following output -
std/random.d(1228): Warning: Ddoc: parameter count mismatch
std/random.d(1228): Warning: Ddoc: Stray ')'. This may cause incorrect Ddoc
output. Use $(RPAREN) instead for unpaired right parentheses.
dmd built at revision 5bad2acc86f1bf09d0b5c06bf653b25de0fe38ea
--
More information about the Digitalmars-d-bugs
mailing list