Using dmd head
Warning: Ddoc: Stray '('. This may cause incorrect Ddoc output. Use $(LPAREN) instead for unpaired left parentheses.
Without any indication of where this might be, it's very difficult to locate.
Comment #1 by yebblies — 2013-11-13T22:15:28Z
Without a test case, it's very difficult to fix.
Comment #2 by hsteoh — 2014-08-09T15:14:27Z
Unable to reproduce on git HEAD. Here's my test code:
------
/**
* This is some random code: $(D foreach (i; 1..a) { f(); }
* But I forgot to close the macro.
*/
void func() {
}
------
Compiler output:
------
test.d(5): Warning: Ddoc: Stray '('. This may cause incorrect Ddoc output. Use $(LPAREN) instead for unpaired left parentheses.
------
Do you have a test case that produces an error message without a line number?
Comment #3 by robert.schadek — 2024-12-13T18:11:47Z