digitalmars.D.bugs - [Issue 15463] New: Compilation error when
- via Digitalmars-d-bugs (28/28) Dec 19 2015 https://issues.dlang.org/show_bug.cgi?id=15463
https://issues.dlang.org/show_bug.cgi?id=15463 Issue ID: 15463 Summary: Compilation error when post-incrementing/decrementing a parenthized variable Product: D Version: D2 Hardware: x86 OS: Linux Status: NEW Severity: normal Priority: P1 Component: dmd Assignee: nobody puremagic.com Reporter: buknik95 yandex.ru ``` unittest { int a = 1; (a)--; } ``` ``` test.d(3): Error: expression expected, not ';' test.d(4): Error: C style cast illegal, use cast(a)--0 test.d(4): Error: found '}' when expecting ';' following statement test.d(5): Error: found 'EOF' when expecting '}' following compound statement ``` v2.069.2 --
Dec 19 2015