Bug 14460 – ddoc - bracket inside string is being interpreted literally

Status
RESOLVED
Resolution
INVALID
Severity
trivial
Priority
P1
Component
dmd
Product
D
Version
D2
Platform
x86_64
OS
Linux
Creation time
2015-04-18T06:25:00Z
Last change time
2015-06-09T01:27:40Z
Assigned to
nobody
Creator
sudo

Comments

Comment #0 by sudo — 2015-04-18T06:25:26Z
(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
Comment #1 by sudo — 2015-04-18T21:07:25Z
Closing, this was not a problem with the string literal, but the comment block before it.